TypeAndShape¶

class onnx_ir.TypeAndShape(type, shape)¶

Type and shape.

Useful for constructing a type proto.

Parameters:
  • type (TypeProtocol | None)

  • shape (Shape | None)

type: TypeProtocol | None¶
shape: Shape | None¶