TypeAndShape¶ class onnx_ir.TypeAndShape(type: TypeProtocol | None, shape: Shape | None)¶ Type and shape. Useful for constructing a type proto. type: TypeProtocol | None¶ shape: Shape | None¶