mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Remove trailing semicolon. (#74031)
Summary: Resolve https://github.com/pytorch/pytorch/pull/24388#discussion_r823210924 Pull Request resolved: https://github.com/pytorch/pytorch/pull/74031 Reviewed By: ezyang Differential Revision: D34820695 Pulled By: soulitzer fbshipit-source-id: a42ff3a98aae25bda37680b6e1a8d5d6f0468ba4 (cherry picked from commit d428b4f2f8a2af18561e45fecc6617bbc023b68e)
This commit is contained in:
parent
22b876782f
commit
198d727d01
|
|
@ -805,13 +805,13 @@ def apply_recurrent_blob_assignments(op, blob_assignments, canonical_name):
|
||||||
alias_dst_args = [a for a in op.arg if a.name.endswith("alias_dst")]
|
alias_dst_args = [a for a in op.arg if a.name.endswith("alias_dst")]
|
||||||
for alias_dst in alias_dst_args:
|
for alias_dst in alias_dst_args:
|
||||||
for i, blob in enumerate(alias_dst.strings):
|
for i, blob in enumerate(alias_dst.strings):
|
||||||
alias_dst.strings[i] = canonical_name(blob.decode()).encode();
|
alias_dst.strings[i] = canonical_name(blob.decode()).encode()
|
||||||
|
|
||||||
# Apply on link_external
|
# Apply on link_external
|
||||||
link_external_args = [a for a in op.arg if a.name.endswith("link_external")]
|
link_external_args = [a for a in op.arg if a.name.endswith("link_external")]
|
||||||
for link_external in link_external_args:
|
for link_external in link_external_args:
|
||||||
for i, blob in enumerate(link_external.strings):
|
for i, blob in enumerate(link_external.strings):
|
||||||
link_external.strings[i] = canonical_name(blob.decode()).encode();
|
link_external.strings[i] = canonical_name(blob.decode()).encode()
|
||||||
|
|
||||||
# Recurse into step nets
|
# Recurse into step nets
|
||||||
step_args = [a for a in op.arg if a.name.endswith("step_net")]
|
step_args = [a for a in op.arg if a.name.endswith("step_net")]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user