Skip to content

Commit 6a3cb3c

Browse files
committed
return
1 parent a056869 commit 6a3cb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/ir/passes/common/shape_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(
7272

7373
def call(self, model: ir.Model) -> ir.passes.PassResult:
7474
def partial_infer_shapes(proto: onnx.ModelProto) -> onnx.ModelProto:
75-
onnx.shape_inference.infer_shapes(
75+
return onnx.shape_inference.infer_shapes(
7676
proto,
7777
check_type=self.check_type,
7878
strict_mode=self.strict_mode,

0 commit comments

Comments
 (0)