Commit 0a3efad
Justin Chu
Fix OpBuilder to properly extract _domain, _version, _outputs from kwargs
OpBuilder._call_op was inserting _domain, _version into the kwargs dict,
but GraphBuilder.call_op expects domain, version, outputs as separate
keyword arguments. This caused them to be treated as node attributes,
breaking custom domain handling, schema lookup, type inference, shape
inference, and output naming.
Changes:
- OpBuilder._call_op: pop _domain, _version, _outputs from kwargs and
pass as separate keyword args to call_op
- Remove _prefix from GraphBuilder.call and OpBuilder.call (only
call_inline needs it)
- Update test to use push_module/pop_module instead of _prefix on call1 parent 5a9e00b commit 0a3efad
2 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
729 | 730 | | |
730 | 731 | | |
731 | 732 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | | - | |
| 928 | + | |
| 929 | + | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
938 | | - | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
| |||
0 commit comments