Skip to content

Commit

Permalink
Only propagate produced values
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Oct 23, 2023
1 parent 44388d5 commit 7b772ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spox/_inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def propagate_values(self) -> Dict[str, _value_prop.PropValueType]:
return {
f"outputs_{k}": unwrap_feed(var.unwrap_type(), output_feed[o.name]).value
for k, (o, var) in enumerate(zip(self.graph.output, self.outputs.outputs))
if o.name in output_feed
}

def to_onnx(
Expand Down

0 comments on commit 7b772ad

Please sign in to comment.