Skip to content

Commit ebde8e1

Browse files
pianpwkfacebook-github-bot
authored andcommitted
forward fix ConstantArgument initialization (#3074)
Summary: Pull Request resolved: #3074 following up on https://www.internalfb.com/diff/D55506949 breaking an executorch call. Reviewed By: angelayi Differential Revision: D56220174 fbshipit-source-id: 041614c888ce2e55c08717d7da1430d4f787b816
1 parent 65f2693 commit ebde8e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exir/lowered_backend_module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def _get_new_signature( # noqa: C901
528528
output_specs.append(
529529
OutputSpec(
530530
kind=OutputKind.USER_OUTPUT,
531-
arg=ConstantArgument(output_node),
531+
arg=ConstantArgument(name="", value=output_node),
532532
target=None,
533533
)
534534
)
@@ -555,7 +555,7 @@ def _get_new_signature( # noqa: C901
555555
output_specs.append(
556556
OutputSpec(
557557
kind=OutputKind.USER_OUTPUT,
558-
arg=ConstantArgument(output_node),
558+
arg=ConstantArgument(name="", value=output_node),
559559
target=None,
560560
)
561561
)

0 commit comments

Comments
 (0)