ONNX035: graph-input-missing-shape¶
Code: ONNX035
Name: graph-input-missing-shape
Severity: error
Category: spec
Target: graph
Fixable: No
Message¶
Graph input is missing shape information.
Suggestion¶
Set the shape on all graph inputs, e.g. value.shape = ir.Shape([1, 3]).
Details¶
Per the ONNX specification, graph inputs must have shape information. Runtimes use shapes to allocate memory and validate feeds.