OpaqueType¶

class onnx_ir.OpaqueType(domain=None, name=None, *, denotation=None)¶

A type whose representation is defined outside ONNX.

Parameters:
  • domain (str | None) – The domain defining the type. None means the model’s domain.

  • name (str | None) – An optional name identifying the type within the domain.

  • denotation (str | None) – An optional semantic description of the type.

Opaque types have no tensor data type or element type. Both dtype and elem_type return None.

denotation: str | None¶
domain¶
name¶
display(*, page=False)¶

Pretty print the object.

Parameters:

page (bool) – Whether to page the output.

Return type:

None

property dtype: None¶
property elem_type: None¶