ONNX034: graph-input-missing-type¶
Code: ONNX034
Name: graph-input-missing-type
Severity: error
Category: spec
Target: graph
Fixable: No
Message¶
Graph input is missing type information.
Suggestion¶
Set the type on all graph inputs, e.g. value.type = ir.TensorType(ir.DataType.FLOAT).
Details¶
Per the ONNX specification, graph inputs must have type information. Runtimes use these types to allocate memory and validate feeds.