matrixlt/onnx_proto/schema does not have a README file

    AttributeProto

    pub(all) struct AttributeProto {
    name : String?
    ref_attr_name : String?
    doc_string : String?
    type_ : AttributeProto_AttributeType?
    f : Float?
    i : Int64?
    s : Bytes?
    t : TensorProto?
    g : GraphProto?
    sparse_tensor : SparseTensorProto?
    tp : TypeProto?
    floats : Array[Float]
    ints : Array[Int64]
    strings : Array[Bytes]
    tensors : Array[TensorProto]
    graphs : Array[GraphProto]
    sparse_tensors : Array[SparseTensorProto]
    type_protos : Array[TypeProto]
    } derive(Eq,
    Debug
    )

    AttributeProto::AttributeProto

    #alias(new, deprecated="`new` is deprecated, use `AttributeProto` instead")
    fn AttributeProto::AttributeProto(name? : String, ref_attr_name? : String, doc_string? : String, type_? : AttributeProto_AttributeType, f? : Float, i? : Int64, s? : Bytes, t? : TensorProto, g? : GraphProto, sparse_tensor? : SparseTensorProto, tp? : TypeProto, floats : Array[Float], ints : Array[Int64], strings : Array[Bytes], tensors : Array[TensorProto], graphs : Array[GraphProto], sparse_tensors : Array[SparseTensorProto], type_protos : Array[TypeProto]) -> AttributeProto

    AttributeProto::default

    AttributeProto::equal

    #deprecated("Use `==` instead")
    fn AttributeProto::equal(AttributeProto, AttributeProto) -> Bool
    automatically derived

    AttributeProto::not_equal

    #deprecated("Use `!=` instead")
    fn AttributeProto::not_equal(x : AttributeProto, y : AttributeProto) -> Bool
    automatically derived

    AttributeProto::read

    AttributeProto::size_of

    fn AttributeProto::size_of(self : AttributeProto) -> UInt

    AttributeProto::to_repr

    automatically derived

    AttributeProto::write

    fn AttributeProto::write(self : AttributeProto, writer : &
    Writer
    ) -> Unit raise

    AttributeProto_AttributeType

    pub(all) enum AttributeProto_AttributeType {
    UNDEFINED
    FLOAT
    INT
    STRING
    TENSOR
    GRAPH
    SPARSE_TENSOR
    TYPE_PROTO
    FLOATS
    INTS
    STRINGS
    TENSORS
    GRAPHS
    SPARSE_TENSORS
    TYPE_PROTOS
    } derive(Eq,
    Debug
    )

    AttributeProto_AttributeType::default

    AttributeProto_AttributeType::equal

    automatically derived

    AttributeProto_AttributeType::from_enum

    AttributeProto_AttributeType::not_equal

    #deprecated("Use `!=` instead")
    fn AttributeProto_AttributeType::not_equal(x : AttributeProto_AttributeType, y : AttributeProto_AttributeType) -> Bool
    automatically derived

    AttributeProto_AttributeType::size_of

    AttributeProto_AttributeType::to_enum

    AttributeProto_AttributeType::to_repr

    automatically derived

    DeviceConfigurationProto

    pub(all) struct DeviceConfigurationProto {
    name : String?
    num_devices : Int?
    device : Array[String]
    } derive(Eq,
    Debug
    )

    DeviceConfigurationProto::DeviceConfigurationProto

    #alias(new, deprecated="`new` is deprecated, use `DeviceConfigurationProto` instead")
    fn DeviceConfigurationProto::DeviceConfigurationProto(name? : String, num_devices? : Int, device : Array[String]) -> DeviceConfigurationProto

    DeviceConfigurationProto::default

    DeviceConfigurationProto::equal

    #deprecated("Use `==` instead")
    fn DeviceConfigurationProto::equal(DeviceConfigurationProto, DeviceConfigurationProto) -> Bool
    automatically derived

    DeviceConfigurationProto::not_equal

    #deprecated("Use `!=` instead")
    fn DeviceConfigurationProto::not_equal(x : DeviceConfigurationProto, y : DeviceConfigurationProto) -> Bool
    automatically derived

    DeviceConfigurationProto::read

    DeviceConfigurationProto::size_of

    DeviceConfigurationProto::to_repr

    automatically derived

    DeviceConfigurationProto::write

    FunctionProto

    pub(all) struct FunctionProto {
    name : String?
    input : Array[String]
    output : Array[String]
    attribute : Array[String]
    attribute_proto : Array[AttributeProto]
    node : Array[NodeProto]
    doc_string : String?
    opset_import : Array[OperatorSetIdProto]
    domain : String?
    overload : String?
    value_info : Array[ValueInfoProto]
    metadata_props : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    FunctionProto::FunctionProto

    #alias(new, deprecated="`new` is deprecated, use `FunctionProto` instead")
    fn FunctionProto::FunctionProto(name? : String, input : Array[String], output : Array[String], attribute : Array[String], attribute_proto : Array[AttributeProto], node : Array[NodeProto], doc_string? : String, opset_import : Array[OperatorSetIdProto], domain? : String, overload? : String, value_info : Array[ValueInfoProto], metadata_props : Array[StringStringEntryProto]) -> FunctionProto

    FunctionProto::default

    fn FunctionProto::default() -> FunctionProto

    FunctionProto::equal

    #deprecated("Use `==` instead")
    fn FunctionProto::equal(FunctionProto, FunctionProto) -> Bool
    automatically derived

    FunctionProto::not_equal

    #deprecated("Use `!=` instead")
    fn FunctionProto::not_equal(x : FunctionProto, y : FunctionProto) -> Bool
    automatically derived

    FunctionProto::read

    FunctionProto::size_of

    fn FunctionProto::size_of(self : FunctionProto) -> UInt

    FunctionProto::to_repr

    automatically derived

    FunctionProto::write

    fn FunctionProto::write(self : FunctionProto, writer : &
    Writer
    ) -> Unit raise

    GraphProto

    pub(all) struct GraphProto {
    node : Array[NodeProto]
    name : String?
    initializer : Array[TensorProto]
    sparse_initializer : Array[SparseTensorProto]
    doc_string : String?
    input : Array[ValueInfoProto]
    output : Array[ValueInfoProto]
    value_info : Array[ValueInfoProto]
    quantization_annotation : Array[TensorAnnotation]
    metadata_props : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    impl Sized for GraphProto
    impl Write for GraphProto

    GraphProto::GraphProto

    #alias(new, deprecated="`new` is deprecated, use `GraphProto` instead")
    fn GraphProto::GraphProto(node : Array[NodeProto], name? : String, initializer : Array[TensorProto], sparse_initializer : Array[SparseTensorProto], doc_string? : String, input : Array[ValueInfoProto], output : Array[ValueInfoProto], value_info : Array[ValueInfoProto], quantization_annotation : Array[TensorAnnotation], metadata_props : Array[StringStringEntryProto]) -> GraphProto

    GraphProto::default

    fn GraphProto::default() -> GraphProto

    GraphProto::equal

    #deprecated("Use `==` instead")
    fn GraphProto::equal(GraphProto, GraphProto) -> Bool
    automatically derived

    GraphProto::not_equal

    #deprecated("Use `!=` instead")
    fn GraphProto::not_equal(x : GraphProto, y : GraphProto) -> Bool
    automatically derived

    GraphProto::read

    GraphProto::read_with_limit

    GraphProto::size_of

    fn GraphProto::size_of(self : GraphProto) -> UInt

    GraphProto::to_repr

    automatically derived

    GraphProto::write

    fn GraphProto::write(self : GraphProto, writer : &
    Writer
    ) -> Unit raise

    IntIntListEntryProto

    pub(all) struct IntIntListEntryProto {
    key : Int64?
    value : Array[Int64]
    } derive(Eq,
    Debug
    )

    IntIntListEntryProto::IntIntListEntryProto

    #alias(new, deprecated="`new` is deprecated, use `IntIntListEntryProto` instead")
    fn IntIntListEntryProto::IntIntListEntryProto(key? : Int64, value : Array[Int64]) -> IntIntListEntryProto

    IntIntListEntryProto::default

    IntIntListEntryProto::equal

    #deprecated("Use `==` instead")
    fn IntIntListEntryProto::equal(IntIntListEntryProto, IntIntListEntryProto) -> Bool
    automatically derived

    IntIntListEntryProto::not_equal

    #deprecated("Use `!=` instead")
    fn IntIntListEntryProto::not_equal(x : IntIntListEntryProto, y : IntIntListEntryProto) -> Bool
    automatically derived

    IntIntListEntryProto::read

    IntIntListEntryProto::size_of

    fn IntIntListEntryProto::size_of(self : IntIntListEntryProto) -> UInt

    IntIntListEntryProto::to_repr

    automatically derived

    IntIntListEntryProto::write

    ModelProto

    pub(all) struct ModelProto {
    ir_version : Int64?
    opset_import : Array[OperatorSetIdProto]
    producer_name : String?
    producer_version : String?
    domain : String?
    model_version : Int64?
    doc_string : String?
    graph : GraphProto?
    metadata_props : Array[StringStringEntryProto]
    training_info : Array[TrainingInfoProto]
    functions : Array[FunctionProto]
    configuration : Array[DeviceConfigurationProto]
    } derive(Eq,
    Debug
    )

    impl Sized for ModelProto
    impl Write for ModelProto

    ModelProto::ModelProto

    #alias(new, deprecated="`new` is deprecated, use `ModelProto` instead")
    fn ModelProto::ModelProto(ir_version? : Int64, opset_import : Array[OperatorSetIdProto], producer_name? : String, producer_version? : String, domain? : String, model_version? : Int64, doc_string? : String, graph? : GraphProto, metadata_props : Array[StringStringEntryProto], training_info : Array[TrainingInfoProto], functions : Array[FunctionProto], configuration : Array[DeviceConfigurationProto]) -> ModelProto

    ModelProto::default

    fn ModelProto::default() -> ModelProto

    ModelProto::equal

    #deprecated("Use `==` instead")
    fn ModelProto::equal(ModelProto, ModelProto) -> Bool
    automatically derived

    ModelProto::not_equal

    #deprecated("Use `!=` instead")
    fn ModelProto::not_equal(x : ModelProto, y : ModelProto) -> Bool
    automatically derived

    ModelProto::read

    ModelProto::read_with_limit

    ModelProto::size_of

    fn ModelProto::size_of(self : ModelProto) -> UInt

    ModelProto::to_repr

    automatically derived

    ModelProto::write

    fn ModelProto::write(self : ModelProto, writer : &
    Writer
    ) -> Unit raise

    NodeDeviceConfigurationProto

    pub(all) struct NodeDeviceConfigurationProto {
    configuration_id : String?
    sharding_spec : Array[ShardingSpecProto]
    pipeline_stage : Int?
    } derive(Eq,
    Debug
    )

    NodeDeviceConfigurationProto::NodeDeviceConfigurationProto

    #alias(new, deprecated="`new` is deprecated, use `NodeDeviceConfigurationProto` instead")
    fn NodeDeviceConfigurationProto::NodeDeviceConfigurationProto(configuration_id? : String, sharding_spec : Array[ShardingSpecProto], pipeline_stage? : Int) -> NodeDeviceConfigurationProto

    NodeDeviceConfigurationProto::default

    NodeDeviceConfigurationProto::equal

    automatically derived

    NodeDeviceConfigurationProto::not_equal

    #deprecated("Use `!=` instead")
    fn NodeDeviceConfigurationProto::not_equal(x : NodeDeviceConfigurationProto, y : NodeDeviceConfigurationProto) -> Bool
    automatically derived

    NodeDeviceConfigurationProto::read

    NodeDeviceConfigurationProto::size_of

    NodeDeviceConfigurationProto::to_repr

    automatically derived

    NodeDeviceConfigurationProto::write

    NodeProto

    pub(all) struct NodeProto {
    input : Array[String]
    output : Array[String]
    name : String?
    op_type : String?
    domain : String?
    overload : String?
    attribute : Array[AttributeProto]
    doc_string : String?
    metadata_props : Array[StringStringEntryProto]
    device_configurations : Array[NodeDeviceConfigurationProto]
    } derive(Eq,
    Debug
    )

    impl Sized for NodeProto
    impl Write for NodeProto

    NodeProto::NodeProto

    #alias(new, deprecated="`new` is deprecated, use `NodeProto` instead")
    fn NodeProto::NodeProto(input : Array[String], output : Array[String], name? : String, op_type? : String, domain? : String, overload? : String, attribute : Array[AttributeProto], doc_string? : String, metadata_props : Array[StringStringEntryProto], device_configurations : Array[NodeDeviceConfigurationProto]) -> NodeProto

    NodeProto::default

    fn NodeProto::default() -> NodeProto

    NodeProto::equal

    #deprecated("Use `==` instead")
    fn NodeProto::equal(NodeProto, NodeProto) -> Bool
    automatically derived

    NodeProto::not_equal

    #deprecated("Use `!=` instead")
    fn NodeProto::not_equal(x : NodeProto, y : NodeProto) -> Bool
    automatically derived

    NodeProto::read

    NodeProto::read_with_limit

    NodeProto::size_of

    fn NodeProto::size_of(self : NodeProto) -> UInt

    NodeProto::to_repr

    automatically derived

    NodeProto::write

    fn NodeProto::write(self : NodeProto, writer : &
    Writer
    ) -> Unit raise

    OperatorSetIdProto

    pub(all) struct OperatorSetIdProto {
    domain : String?
    version : Int64?
    } derive(Eq,
    Debug
    )

    OperatorSetIdProto::OperatorSetIdProto

    #alias(new, deprecated="`new` is deprecated, use `OperatorSetIdProto` instead")
    fn OperatorSetIdProto::OperatorSetIdProto(domain? : String, version? : Int64) -> OperatorSetIdProto

    OperatorSetIdProto::default

    OperatorSetIdProto::equal

    #deprecated("Use `==` instead")
    fn OperatorSetIdProto::equal(OperatorSetIdProto, OperatorSetIdProto) -> Bool
    automatically derived

    OperatorSetIdProto::not_equal

    #deprecated("Use `!=` instead")
    fn OperatorSetIdProto::not_equal(x : OperatorSetIdProto, y : OperatorSetIdProto) -> Bool
    automatically derived

    OperatorSetIdProto::read

    OperatorSetIdProto::size_of

    fn OperatorSetIdProto::size_of(self : OperatorSetIdProto) -> UInt

    OperatorSetIdProto::to_repr

    automatically derived

    OperatorSetIdProto::write

    OperatorStatus

    pub(all) enum OperatorStatus {
    EXPERIMENTAL
    STABLE
    } derive(Eq,
    Debug
    )

    OperatorStatus::default

    OperatorStatus::equal

    #deprecated("Use `==` instead")
    fn OperatorStatus::equal(OperatorStatus, OperatorStatus) -> Bool
    automatically derived

    OperatorStatus::from_enum

    OperatorStatus::not_equal

    #deprecated("Use `!=` instead")
    fn OperatorStatus::not_equal(x : OperatorStatus, y : OperatorStatus) -> Bool
    automatically derived

    OperatorStatus::size_of

    fn OperatorStatus::size_of(self : OperatorStatus) -> UInt

    OperatorStatus::to_enum

    OperatorStatus::to_repr

    automatically derived

    ShardedDimProto

    pub(all) struct ShardedDimProto {
    axis : Int64?
    simple_sharding : Array[SimpleShardedDimProto]
    } derive(Eq,
    Debug
    )

    ShardedDimProto::ShardedDimProto

    #alias(new, deprecated="`new` is deprecated, use `ShardedDimProto` instead")
    fn ShardedDimProto::ShardedDimProto(axis? : Int64, simple_sharding : Array[SimpleShardedDimProto]) -> ShardedDimProto

    ShardedDimProto::default

    ShardedDimProto::equal

    #deprecated("Use `==` instead")
    fn ShardedDimProto::equal(ShardedDimProto, ShardedDimProto) -> Bool
    automatically derived

    ShardedDimProto::not_equal

    #deprecated("Use `!=` instead")
    fn ShardedDimProto::not_equal(x : ShardedDimProto, y : ShardedDimProto) -> Bool
    automatically derived

    ShardedDimProto::read

    ShardedDimProto::size_of

    fn ShardedDimProto::size_of(self : ShardedDimProto) -> UInt

    ShardedDimProto::to_repr

    automatically derived

    ShardedDimProto::write

    fn ShardedDimProto::write(self : ShardedDimProto, writer : &
    Writer
    ) -> Unit raise

    ShardingSpecProto

    pub(all) struct ShardingSpecProto {
    tensor_name : String?
    device : Array[Int64]
    index_to_device_group_map : Array[IntIntListEntryProto]
    sharded_dim : Array[ShardedDimProto]
    } derive(Eq,
    Debug
    )

    ShardingSpecProto::ShardingSpecProto

    #alias(new, deprecated="`new` is deprecated, use `ShardingSpecProto` instead")
    fn ShardingSpecProto::ShardingSpecProto(tensor_name? : String, device : Array[Int64], index_to_device_group_map : Array[IntIntListEntryProto], sharded_dim : Array[ShardedDimProto]) -> ShardingSpecProto

    ShardingSpecProto::default

    ShardingSpecProto::equal

    #deprecated("Use `==` instead")
    fn ShardingSpecProto::equal(ShardingSpecProto, ShardingSpecProto) -> Bool
    automatically derived

    ShardingSpecProto::not_equal

    #deprecated("Use `!=` instead")
    fn ShardingSpecProto::not_equal(x : ShardingSpecProto, y : ShardingSpecProto) -> Bool
    automatically derived

    ShardingSpecProto::read

    ShardingSpecProto::size_of

    fn ShardingSpecProto::size_of(self : ShardingSpecProto) -> UInt

    ShardingSpecProto::to_repr

    automatically derived

    ShardingSpecProto::write

    SimpleShardedDimProto

    pub(all) struct SimpleShardedDimProto {
    num_shards : Int64?
    dim : SimpleShardedDimProto_Dim
    } derive(Eq,
    Debug
    )

    SimpleShardedDimProto::SimpleShardedDimProto

    #alias(new, deprecated="`new` is deprecated, use `SimpleShardedDimProto` instead")
    fn SimpleShardedDimProto::SimpleShardedDimProto(num_shards? : Int64, dim? : SimpleShardedDimProto_Dim) -> SimpleShardedDimProto

    SimpleShardedDimProto::default

    SimpleShardedDimProto::equal

    #deprecated("Use `==` instead")
    fn SimpleShardedDimProto::equal(SimpleShardedDimProto, SimpleShardedDimProto) -> Bool
    automatically derived

    SimpleShardedDimProto::not_equal

    #deprecated("Use `!=` instead")
    fn SimpleShardedDimProto::not_equal(x : SimpleShardedDimProto, y : SimpleShardedDimProto) -> Bool
    automatically derived

    SimpleShardedDimProto::read

    SimpleShardedDimProto::size_of

    fn SimpleShardedDimProto::size_of(self : SimpleShardedDimProto) -> UInt

    SimpleShardedDimProto::to_repr

    automatically derived

    SimpleShardedDimProto::write

    SimpleShardedDimProto_Dim

    pub(all) enum SimpleShardedDimProto_Dim {
    DimValue(Int64)
    DimParam(String)
    NotSet
    } derive(Eq,
    Debug
    )

    SimpleShardedDimProto_Dim::default

    SimpleShardedDimProto_Dim::equal

    #deprecated("Use `==` instead")
    fn SimpleShardedDimProto_Dim::equal(SimpleShardedDimProto_Dim, SimpleShardedDimProto_Dim) -> Bool
    automatically derived

    SimpleShardedDimProto_Dim::not_equal

    #deprecated("Use `!=` instead")
    fn SimpleShardedDimProto_Dim::not_equal(x : SimpleShardedDimProto_Dim, y : SimpleShardedDimProto_Dim) -> Bool
    automatically derived

    SimpleShardedDimProto_Dim::to_repr

    automatically derived

    SparseTensorProto

    pub(all) struct SparseTensorProto {
    values : TensorProto?
    indices : TensorProto?
    dims : Array[Int64]
    } derive(Eq,
    Debug
    )

    SparseTensorProto::SparseTensorProto

    #alias(new, deprecated="`new` is deprecated, use `SparseTensorProto` instead")
    fn SparseTensorProto::SparseTensorProto(values? : TensorProto, indices? : TensorProto, dims : Array[Int64]) -> SparseTensorProto

    SparseTensorProto::default

    SparseTensorProto::equal

    #deprecated("Use `==` instead")
    fn SparseTensorProto::equal(SparseTensorProto, SparseTensorProto) -> Bool
    automatically derived

    SparseTensorProto::not_equal

    #deprecated("Use `!=` instead")
    fn SparseTensorProto::not_equal(x : SparseTensorProto, y : SparseTensorProto) -> Bool
    automatically derived

    SparseTensorProto::read

    SparseTensorProto::size_of

    fn SparseTensorProto::size_of(self : SparseTensorProto) -> UInt

    SparseTensorProto::to_repr

    automatically derived

    SparseTensorProto::write

    StringStringEntryProto

    pub(all) struct StringStringEntryProto {
    key : String?
    value : String?
    } derive(Eq,
    Debug
    )

    StringStringEntryProto::StringStringEntryProto

    #alias(new, deprecated="`new` is deprecated, use `StringStringEntryProto` instead")
    fn StringStringEntryProto::StringStringEntryProto(key? : String, value? : String) -> StringStringEntryProto

    StringStringEntryProto::default

    StringStringEntryProto::equal

    #deprecated("Use `==` instead")
    fn StringStringEntryProto::equal(StringStringEntryProto, StringStringEntryProto) -> Bool
    automatically derived

    StringStringEntryProto::not_equal

    #deprecated("Use `!=` instead")
    fn StringStringEntryProto::not_equal(x : StringStringEntryProto, y : StringStringEntryProto) -> Bool
    automatically derived

    StringStringEntryProto::read

    StringStringEntryProto::size_of

    StringStringEntryProto::to_repr

    automatically derived

    StringStringEntryProto::write

    TensorAnnotation

    pub(all) struct TensorAnnotation {
    tensor_name : String?
    quant_parameter_tensor_names : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    TensorAnnotation::TensorAnnotation

    #alias(new, deprecated="`new` is deprecated, use `TensorAnnotation` instead")
    fn TensorAnnotation::TensorAnnotation(tensor_name? : String, quant_parameter_tensor_names : Array[StringStringEntryProto]) -> TensorAnnotation

    TensorAnnotation::default

    TensorAnnotation::equal

    #deprecated("Use `==` instead")
    fn TensorAnnotation::equal(TensorAnnotation, TensorAnnotation) -> Bool
    automatically derived

    TensorAnnotation::not_equal

    #deprecated("Use `!=` instead")
    fn TensorAnnotation::not_equal(x : TensorAnnotation, y : TensorAnnotation) -> Bool
    automatically derived

    TensorAnnotation::read

    TensorAnnotation::size_of

    fn TensorAnnotation::size_of(self : TensorAnnotation) -> UInt

    TensorAnnotation::to_repr

    automatically derived

    TensorAnnotation::write

    fn TensorAnnotation::write(self : TensorAnnotation, writer : &
    Writer
    ) -> Unit raise

    TensorProto

    pub(all) struct TensorProto {
    dims : Array[Int64]
    data_type : Int?
    segment : TensorProto_Segment?
    float_data : Array[Float]
    int32_data : Array[Int]
    string_data : Array[Bytes]
    int64_data : Array[Int64]
    name : String?
    doc_string : String?
    raw_data : Bytes?
    external_data : Array[StringStringEntryProto]
    data_location : TensorProto_DataLocation?
    double_data : Array[Double]
    uint64_data : Array[UInt64]
    metadata_props : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    TensorProto::TensorProto

    #alias(new, deprecated="`new` is deprecated, use `TensorProto` instead")
    fn TensorProto::TensorProto(dims : Array[Int64], data_type? : Int, segment? : TensorProto_Segment, float_data : Array[Float], int32_data : Array[Int], string_data : Array[Bytes], int64_data : Array[Int64], name? : String, doc_string? : String, raw_data? : Bytes, external_data : Array[StringStringEntryProto], data_location? : TensorProto_DataLocation, double_data : Array[Double], uint64_data : Array[UInt64], metadata_props : Array[StringStringEntryProto]) -> TensorProto

    TensorProto::default

    fn TensorProto::default() -> TensorProto

    TensorProto::equal

    #deprecated("Use `==` instead")
    fn TensorProto::equal(TensorProto, TensorProto) -> Bool
    automatically derived

    TensorProto::not_equal

    #deprecated("Use `!=` instead")
    fn TensorProto::not_equal(x : TensorProto, y : TensorProto) -> Bool
    automatically derived

    TensorProto::read

    TensorProto::size_of

    fn TensorProto::size_of(self : TensorProto) -> UInt

    TensorProto::to_repr

    automatically derived

    TensorProto::write

    fn TensorProto::write(self : TensorProto, writer : &
    Writer
    ) -> Unit raise

    TensorProto_DataLocation

    pub(all) enum TensorProto_DataLocation {
    DEFAULT
    EXTERNAL
    } derive(Eq,
    Debug
    )

    TensorProto_DataLocation::default

    TensorProto_DataLocation::equal

    #deprecated("Use `==` instead")
    fn TensorProto_DataLocation::equal(TensorProto_DataLocation, TensorProto_DataLocation) -> Bool
    automatically derived

    TensorProto_DataLocation::from_enum

    TensorProto_DataLocation::not_equal

    #deprecated("Use `!=` instead")
    fn TensorProto_DataLocation::not_equal(x : TensorProto_DataLocation, y : TensorProto_DataLocation) -> Bool
    automatically derived

    TensorProto_DataLocation::size_of

    TensorProto_DataLocation::to_enum

    TensorProto_DataLocation::to_repr

    automatically derived

    TensorProto_DataType

    pub(all) enum TensorProto_DataType {
    UNDEFINED
    FLOAT
    UINT8
    INT8
    UINT16
    INT16
    INT32
    INT64
    STRING
    BOOL
    FLOAT16
    DOUBLE
    UINT32
    UINT64
    COMPLEX64
    COMPLEX128
    BFLOAT16
    FLOAT8E4M3FN
    FLOAT8E4M3FNUZ
    FLOAT8E5M2
    FLOAT8E5M2FNUZ
    UINT4
    INT4
    FLOAT4E2M1
    FLOAT8E8M0
    UINT2
    INT2
    FLOAT6E2M3
    FLOAT6E3M2
    } derive(Eq,
    Debug
    )

    TensorProto_DataType::default

    TensorProto_DataType::equal

    #deprecated("Use `==` instead")
    fn TensorProto_DataType::equal(TensorProto_DataType, TensorProto_DataType) -> Bool
    automatically derived

    TensorProto_DataType::from_enum

    TensorProto_DataType::not_equal

    #deprecated("Use `!=` instead")
    fn TensorProto_DataType::not_equal(x : TensorProto_DataType, y : TensorProto_DataType) -> Bool
    automatically derived

    TensorProto_DataType::size_of

    fn TensorProto_DataType::size_of(self : TensorProto_DataType) -> UInt

    TensorProto_DataType::to_enum

    TensorProto_DataType::to_repr

    automatically derived

    TensorProto_Segment

    pub(all) struct TensorProto_Segment {
    begin : Int64?
    end : Int64?
    } derive(Eq,
    Debug
    )

    TensorProto_Segment::TensorProto_Segment

    #alias(new, deprecated="`new` is deprecated, use `TensorProto_Segment` instead")
    fn TensorProto_Segment::TensorProto_Segment(begin? : Int64, end? : Int64) -> TensorProto_Segment

    TensorProto_Segment::default

    TensorProto_Segment::equal

    #deprecated("Use `==` instead")
    fn TensorProto_Segment::equal(TensorProto_Segment, TensorProto_Segment) -> Bool
    automatically derived

    TensorProto_Segment::not_equal

    #deprecated("Use `!=` instead")
    fn TensorProto_Segment::not_equal(x : TensorProto_Segment, y : TensorProto_Segment) -> Bool
    automatically derived

    TensorProto_Segment::read

    TensorProto_Segment::size_of

    fn TensorProto_Segment::size_of(self : TensorProto_Segment) -> UInt

    TensorProto_Segment::to_repr

    automatically derived

    TensorProto_Segment::write

    TensorShapeProto

    pub(all) struct TensorShapeProto {
    dim : Array[TensorShapeProto_Dimension]
    } derive(Eq,
    Debug
    )

    TensorShapeProto::TensorShapeProto

    #alias(new, deprecated="`new` is deprecated, use `TensorShapeProto` instead")
    fn TensorShapeProto::TensorShapeProto(dim : Array[TensorShapeProto_Dimension]) -> TensorShapeProto

    TensorShapeProto::default

    TensorShapeProto::equal

    #deprecated("Use `==` instead")
    fn TensorShapeProto::equal(TensorShapeProto, TensorShapeProto) -> Bool
    automatically derived

    TensorShapeProto::not_equal

    #deprecated("Use `!=` instead")
    fn TensorShapeProto::not_equal(x : TensorShapeProto, y : TensorShapeProto) -> Bool
    automatically derived

    TensorShapeProto::read

    TensorShapeProto::size_of

    fn TensorShapeProto::size_of(self : TensorShapeProto) -> UInt

    TensorShapeProto::to_repr

    automatically derived

    TensorShapeProto::write

    fn TensorShapeProto::write(self : TensorShapeProto, writer : &
    Writer
    ) -> Unit raise

    TensorShapeProto_Dimension

    pub(all) struct TensorShapeProto_Dimension {
    denotation : String?
    value : TensorShapeProto_Dimension_Value
    } derive(Eq,
    Debug
    )

    TensorShapeProto_Dimension::TensorShapeProto_Dimension

    #alias(new, deprecated="`new` is deprecated, use `TensorShapeProto_Dimension` instead")
    fn TensorShapeProto_Dimension::TensorShapeProto_Dimension(denotation? : String, value? : TensorShapeProto_Dimension_Value) -> TensorShapeProto_Dimension

    TensorShapeProto_Dimension::default

    TensorShapeProto_Dimension::equal

    #deprecated("Use `==` instead")
    fn TensorShapeProto_Dimension::equal(TensorShapeProto_Dimension, TensorShapeProto_Dimension) -> Bool
    automatically derived

    TensorShapeProto_Dimension::not_equal

    #deprecated("Use `!=` instead")
    fn TensorShapeProto_Dimension::not_equal(x : TensorShapeProto_Dimension, y : TensorShapeProto_Dimension) -> Bool
    automatically derived

    TensorShapeProto_Dimension::read

    TensorShapeProto_Dimension::size_of

    TensorShapeProto_Dimension::to_repr

    automatically derived

    TensorShapeProto_Dimension::write

    TensorShapeProto_Dimension_Value

    pub(all) enum TensorShapeProto_Dimension_Value {
    DimValue(Int64)
    DimParam(String)
    NotSet
    } derive(Eq,
    Debug
    )

    TensorShapeProto_Dimension_Value::default

    TensorShapeProto_Dimension_Value::equal

    automatically derived

    TensorShapeProto_Dimension_Value::not_equal

    #deprecated("Use `!=` instead")
    fn TensorShapeProto_Dimension_Value::not_equal(x : TensorShapeProto_Dimension_Value, y : TensorShapeProto_Dimension_Value) -> Bool
    automatically derived

    TensorShapeProto_Dimension_Value::to_repr

    automatically derived

    TrainingInfoProto

    pub(all) struct TrainingInfoProto {
    initialization : GraphProto?
    algorithm : GraphProto?
    initialization_binding : Array[StringStringEntryProto]
    update_binding : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    TrainingInfoProto::TrainingInfoProto

    #alias(new, deprecated="`new` is deprecated, use `TrainingInfoProto` instead")
    fn TrainingInfoProto::TrainingInfoProto(initialization? : GraphProto, algorithm? : GraphProto, initialization_binding : Array[StringStringEntryProto], update_binding : Array[StringStringEntryProto]) -> TrainingInfoProto

    TrainingInfoProto::default

    TrainingInfoProto::equal

    #deprecated("Use `==` instead")
    fn TrainingInfoProto::equal(TrainingInfoProto, TrainingInfoProto) -> Bool
    automatically derived

    TrainingInfoProto::not_equal

    #deprecated("Use `!=` instead")
    fn TrainingInfoProto::not_equal(x : TrainingInfoProto, y : TrainingInfoProto) -> Bool
    automatically derived

    TrainingInfoProto::read

    TrainingInfoProto::size_of

    fn TrainingInfoProto::size_of(self : TrainingInfoProto) -> UInt

    TrainingInfoProto::to_repr

    automatically derived

    TrainingInfoProto::write

    TypeProto

    pub(all) struct TypeProto {
    denotation : String?
    value : TypeProto_Value
    } derive(Eq,
    Debug
    )

    impl Sized for TypeProto
    impl Write for TypeProto

    TypeProto::TypeProto

    #alias(new, deprecated="`new` is deprecated, use `TypeProto` instead")
    fn TypeProto::TypeProto(denotation? : String, value? : TypeProto_Value) -> TypeProto

    TypeProto::default

    fn TypeProto::default() -> TypeProto

    TypeProto::equal

    #deprecated("Use `==` instead")
    fn TypeProto::equal(TypeProto, TypeProto) -> Bool
    automatically derived

    TypeProto::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto::not_equal(x : TypeProto, y : TypeProto) -> Bool
    automatically derived

    TypeProto::read

    TypeProto::read_with_limit

    TypeProto::size_of

    fn TypeProto::size_of(self : TypeProto) -> UInt

    TypeProto::to_repr

    automatically derived

    TypeProto::write

    fn TypeProto::write(self : TypeProto, writer : &
    Writer
    ) -> Unit raise

    TypeProto_Map

    pub(all) struct TypeProto_Map {
    key_type : Int?
    value_type : TypeProto?
    } derive(Eq,
    Debug
    )

    TypeProto_Map::TypeProto_Map

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_Map` instead")
    fn TypeProto_Map::TypeProto_Map(key_type? : Int, value_type? : TypeProto) -> TypeProto_Map

    TypeProto_Map::default

    fn TypeProto_Map::default() -> TypeProto_Map

    TypeProto_Map::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Map::equal(TypeProto_Map, TypeProto_Map) -> Bool
    automatically derived

    TypeProto_Map::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Map::not_equal(x : TypeProto_Map, y : TypeProto_Map) -> Bool
    automatically derived

    TypeProto_Map::read

    TypeProto_Map::size_of

    fn TypeProto_Map::size_of(self : TypeProto_Map) -> UInt

    TypeProto_Map::to_repr

    automatically derived

    TypeProto_Map::write

    fn TypeProto_Map::write(self : TypeProto_Map, writer : &
    Writer
    ) -> Unit raise

    TypeProto_Opaque

    pub(all) struct TypeProto_Opaque {
    domain : String?
    name : String?
    } derive(Eq,
    Debug
    )

    TypeProto_Opaque::TypeProto_Opaque

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_Opaque` instead")
    fn TypeProto_Opaque::TypeProto_Opaque(domain? : String, name? : String) -> TypeProto_Opaque

    TypeProto_Opaque::default

    TypeProto_Opaque::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Opaque::equal(TypeProto_Opaque, TypeProto_Opaque) -> Bool
    automatically derived

    TypeProto_Opaque::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Opaque::not_equal(x : TypeProto_Opaque, y : TypeProto_Opaque) -> Bool
    automatically derived

    TypeProto_Opaque::read

    TypeProto_Opaque::size_of

    fn TypeProto_Opaque::size_of(self : TypeProto_Opaque) -> UInt

    TypeProto_Opaque::to_repr

    automatically derived

    TypeProto_Opaque::write

    fn TypeProto_Opaque::write(self : TypeProto_Opaque, writer : &
    Writer
    ) -> Unit raise

    TypeProto_Optional

    pub(all) struct TypeProto_Optional {
    elem_type : TypeProto?
    } derive(Eq,
    Debug
    )

    TypeProto_Optional::TypeProto_Optional

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_Optional` instead")
    fn TypeProto_Optional::TypeProto_Optional(elem_type? : TypeProto) -> TypeProto_Optional

    TypeProto_Optional::default

    TypeProto_Optional::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Optional::equal(TypeProto_Optional, TypeProto_Optional) -> Bool
    automatically derived

    TypeProto_Optional::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Optional::not_equal(x : TypeProto_Optional, y : TypeProto_Optional) -> Bool
    automatically derived

    TypeProto_Optional::read

    TypeProto_Optional::size_of

    fn TypeProto_Optional::size_of(self : TypeProto_Optional) -> UInt

    TypeProto_Optional::to_repr

    automatically derived

    TypeProto_Optional::write

    TypeProto_Sequence

    pub(all) struct TypeProto_Sequence {
    elem_type : TypeProto?
    } derive(Eq,
    Debug
    )

    TypeProto_Sequence::TypeProto_Sequence

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_Sequence` instead")
    fn TypeProto_Sequence::TypeProto_Sequence(elem_type? : TypeProto) -> TypeProto_Sequence

    TypeProto_Sequence::default

    TypeProto_Sequence::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Sequence::equal(TypeProto_Sequence, TypeProto_Sequence) -> Bool
    automatically derived

    TypeProto_Sequence::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Sequence::not_equal(x : TypeProto_Sequence, y : TypeProto_Sequence) -> Bool
    automatically derived

    TypeProto_Sequence::read

    TypeProto_Sequence::size_of

    fn TypeProto_Sequence::size_of(self : TypeProto_Sequence) -> UInt

    TypeProto_Sequence::to_repr

    automatically derived

    TypeProto_Sequence::write

    TypeProto_SparseTensor

    pub(all) struct TypeProto_SparseTensor {
    elem_type : Int?
    shape : TensorShapeProto?
    } derive(Eq,
    Debug
    )

    TypeProto_SparseTensor::TypeProto_SparseTensor

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_SparseTensor` instead")
    fn TypeProto_SparseTensor::TypeProto_SparseTensor(elem_type? : Int, shape? : TensorShapeProto) -> TypeProto_SparseTensor

    TypeProto_SparseTensor::default

    TypeProto_SparseTensor::equal

    #deprecated("Use `==` instead")
    fn TypeProto_SparseTensor::equal(TypeProto_SparseTensor, TypeProto_SparseTensor) -> Bool
    automatically derived

    TypeProto_SparseTensor::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_SparseTensor::not_equal(x : TypeProto_SparseTensor, y : TypeProto_SparseTensor) -> Bool
    automatically derived

    TypeProto_SparseTensor::read

    TypeProto_SparseTensor::size_of

    TypeProto_SparseTensor::to_repr

    automatically derived

    TypeProto_SparseTensor::write

    TypeProto_Tensor

    pub(all) struct TypeProto_Tensor {
    elem_type : Int?
    shape : TensorShapeProto?
    } derive(Eq,
    Debug
    )

    TypeProto_Tensor::TypeProto_Tensor

    #alias(new, deprecated="`new` is deprecated, use `TypeProto_Tensor` instead")
    fn TypeProto_Tensor::TypeProto_Tensor(elem_type? : Int, shape? : TensorShapeProto) -> TypeProto_Tensor

    TypeProto_Tensor::default

    TypeProto_Tensor::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Tensor::equal(TypeProto_Tensor, TypeProto_Tensor) -> Bool
    automatically derived

    TypeProto_Tensor::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Tensor::not_equal(x : TypeProto_Tensor, y : TypeProto_Tensor) -> Bool
    automatically derived

    TypeProto_Tensor::read

    TypeProto_Tensor::size_of

    fn TypeProto_Tensor::size_of(self : TypeProto_Tensor) -> UInt

    TypeProto_Tensor::to_repr

    automatically derived

    TypeProto_Tensor::write

    fn TypeProto_Tensor::write(self : TypeProto_Tensor, writer : &
    Writer
    ) -> Unit raise

    TypeProto_Value

    pub(all) enum TypeProto_Value {
    TensorType(TypeProto_Tensor)
    SequenceType(TypeProto_Sequence)
    MapType(TypeProto_Map)
    OptionalType(TypeProto_Optional)
    SparseTensorType(TypeProto_SparseTensor)
    OpaqueType(TypeProto_Opaque)
    NotSet
    } derive(Eq,
    Debug
    )

    TypeProto_Value::default

    TypeProto_Value::equal

    #deprecated("Use `==` instead")
    fn TypeProto_Value::equal(TypeProto_Value, TypeProto_Value) -> Bool
    automatically derived

    TypeProto_Value::not_equal

    #deprecated("Use `!=` instead")
    fn TypeProto_Value::not_equal(x : TypeProto_Value, y : TypeProto_Value) -> Bool
    automatically derived

    TypeProto_Value::to_repr

    automatically derived

    ValueInfoProto

    pub(all) struct ValueInfoProto {
    name : String?
    type_ : TypeProto?
    doc_string : String?
    metadata_props : Array[StringStringEntryProto]
    } derive(Eq,
    Debug
    )

    ValueInfoProto::ValueInfoProto

    #alias(new, deprecated="`new` is deprecated, use `ValueInfoProto` instead")
    fn ValueInfoProto::ValueInfoProto(name? : String, type_? : TypeProto, doc_string? : String, metadata_props : Array[StringStringEntryProto]) -> ValueInfoProto

    ValueInfoProto::default

    ValueInfoProto::equal

    #deprecated("Use `==` instead")
    fn ValueInfoProto::equal(ValueInfoProto, ValueInfoProto) -> Bool
    automatically derived

    ValueInfoProto::not_equal

    #deprecated("Use `!=` instead")
    fn ValueInfoProto::not_equal(x : ValueInfoProto, y : ValueInfoProto) -> Bool
    automatically derived

    ValueInfoProto::read

    ValueInfoProto::size_of

    fn ValueInfoProto::size_of(self : ValueInfoProto) -> UInt

    ValueInfoProto::to_repr

    automatically derived

    ValueInfoProto::write

    fn ValueInfoProto::write(self : ValueInfoProto, writer : &
    Writer
    ) -> Unit raise

    Version

    pub(all) enum Version {
    XSTART_VERSION
    IR_VERSION_2017_10_10
    IR_VERSION_2017_10_30
    IR_VERSION_2017_11_3
    IR_VERSION_2019_1_22
    IR_VERSION_2019_3_18
    IR_VERSION_2019_9_19
    IR_VERSION_2020_5_8
    IR_VERSION_2021_7_30
    IR_VERSION_2023_5_5
    IR_VERSION_2024_3_25
    IR_VERSION_2025_05_12
    IR_VERSION_2025_08_26
    IR_VERSION_2025_11_06
    IR_VERSION
    } derive(Eq,
    Debug
    )

    impl Default for Version
    impl Sized for Version

    Version::default

    fn Version::default() -> Version

    Version::equal

    #deprecated("Use `==` instead")
    fn Version::equal(Version, Version) -> Bool
    automatically derived

    Version::from_enum

    Version::not_equal

    #deprecated("Use `!=` instead")
    fn Version::not_equal(x : Version, y : Version) -> Bool
    automatically derived

    Version::size_of

    fn Version::size_of(self : Version) -> UInt

    Version::to_enum

    Version::to_repr

    automatically derived

    Source Files