We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a056869 commit 6a3cb3cCopy full SHA for 6a3cb3c
onnxscript/ir/passes/common/shape_inference.py
@@ -72,7 +72,7 @@ def __init__(
72
73
def call(self, model: ir.Model) -> ir.passes.PassResult:
74
def partial_infer_shapes(proto: onnx.ModelProto) -> onnx.ModelProto:
75
- onnx.shape_inference.infer_shapes(
+ return onnx.shape_inference.infer_shapes(
76
proto,
77
check_type=self.check_type,
78
strict_mode=self.strict_mode,
0 commit comments