StringTensor¶
- class onnx_ir.StringTensor(value: Sequence[bytes] | npt.NDArray[np.bytes_], *, shape: Shape | None = None, name: str | None = None, doc_string: str | None = None, metadata_props: dict[str, str] | None = None)¶
Multidimensional array of strings (as binary data to match the string_data field in TensorProto).
- display(*, page: bool = False) None ¶
Pretty print the object.
- Parameters:
page – Whether to page the output.
- property meta: MetadataStore¶
The metadata store for intermediate analysis.
Write to the
metadata_props
if you would like the metadata to be serialized to the ONNX proto.