Package ai.onnx.proto

Class OnnxMl.GraphProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
ai.onnx.proto.OnnxMl.GraphProto.Builder
All Implemented Interfaces:
OnnxMl.GraphProtoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OnnxMl.GraphProto

public static final class OnnxMl.GraphProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder> implements OnnxMl.GraphProtoOrBuilder
 Graphs
 A graph defines the computational logic of a model and is comprised of a parameterized
 list of nodes that form a directed acyclic graph based on their inputs and outputs.
 This is the equivalent of the "network" or "graph" in many deep learning
 frameworks.
 
Protobuf type onnx.GraphProto
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • clear

      public OnnxMl.GraphProto.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • getDefaultInstanceForType

      public OnnxMl.GraphProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OnnxMl.GraphProto build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OnnxMl.GraphProto buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public OnnxMl.GraphProto.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • setField

      public OnnxMl.GraphProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • clearField

      public OnnxMl.GraphProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • clearOneof

      public OnnxMl.GraphProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • setRepeatedField

      public OnnxMl.GraphProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • addRepeatedField

      public OnnxMl.GraphProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • mergeFrom

      public OnnxMl.GraphProto.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
    • mergeFrom

      public OnnxMl.GraphProto.Builder mergeFrom(OnnxMl.GraphProto other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • mergeFrom

      public OnnxMl.GraphProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
      Throws:
      IOException
    • getNodeList

      public List<OnnxMl.NodeProto> getNodeList()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
      Specified by:
      getNodeList in interface OnnxMl.GraphProtoOrBuilder
    • getNodeCount

      public int getNodeCount()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
      Specified by:
      getNodeCount in interface OnnxMl.GraphProtoOrBuilder
    • getNode

      public OnnxMl.NodeProto getNode(int index)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
      Specified by:
      getNode in interface OnnxMl.GraphProtoOrBuilder
    • setNode

      public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto value)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • setNode

      public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addNode

       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addNode

      public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto value)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addNode

      public OnnxMl.GraphProto.Builder addNode(OnnxMl.NodeProto.Builder builderForValue)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addNode

      public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addAllNode

      public OnnxMl.GraphProto.Builder addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • clearNode

      public OnnxMl.GraphProto.Builder clearNode()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • removeNode

      public OnnxMl.GraphProto.Builder removeNode(int index)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • getNodeBuilder

      public OnnxMl.NodeProto.Builder getNodeBuilder(int index)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • getNodeOrBuilder

      public OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
      Specified by:
      getNodeOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getNodeOrBuilderList

      public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
      Specified by:
      getNodeOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addNodeBuilder

      public OnnxMl.NodeProto.Builder addNodeBuilder()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • addNodeBuilder

      public OnnxMl.NodeProto.Builder addNodeBuilder(int index)
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • getNodeBuilderList

      public List<OnnxMl.NodeProto.Builder> getNodeBuilderList()
       The nodes in the graph, sorted topologically.
       
      repeated .onnx.NodeProto node = 1;
    • hasName

      public boolean hasName()
       The name of the graph.
       
      optional string name = 2;
      Specified by:
      hasName in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the graph.
       
      optional string name = 2;
      Specified by:
      getName in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the graph.
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public OnnxMl.GraphProto.Builder setName(String value)
       The name of the graph.
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public OnnxMl.GraphProto.Builder clearName()
       The name of the graph.
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public OnnxMl.GraphProto.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the graph.
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getInitializerList

      public List<OnnxMl.TensorProto> getInitializerList()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
      Specified by:
      getInitializerList in interface OnnxMl.GraphProtoOrBuilder
    • getInitializerCount

      public int getInitializerCount()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
      Specified by:
      getInitializerCount in interface OnnxMl.GraphProtoOrBuilder
    • getInitializer

      public OnnxMl.TensorProto getInitializer(int index)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
      Specified by:
      getInitializer in interface OnnxMl.GraphProtoOrBuilder
    • setInitializer

      public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto value)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • setInitializer

      public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addInitializer

      public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto value)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addInitializer

      public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto value)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addInitializer

      public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto.Builder builderForValue)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addInitializer

      public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addAllInitializer

      public OnnxMl.GraphProto.Builder addAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • clearInitializer

      public OnnxMl.GraphProto.Builder clearInitializer()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • removeInitializer

      public OnnxMl.GraphProto.Builder removeInitializer(int index)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • getInitializerBuilder

      public OnnxMl.TensorProto.Builder getInitializerBuilder(int index)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • getInitializerOrBuilder

      public OnnxMl.TensorProtoOrBuilder getInitializerOrBuilder(int index)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
      Specified by:
      getInitializerOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getInitializerOrBuilderList

      public List<? extends OnnxMl.TensorProtoOrBuilder> getInitializerOrBuilderList()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
      Specified by:
      getInitializerOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addInitializerBuilder

      public OnnxMl.TensorProto.Builder addInitializerBuilder()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • addInitializerBuilder

      public OnnxMl.TensorProto.Builder addInitializerBuilder(int index)
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • getInitializerBuilderList

      public List<OnnxMl.TensorProto.Builder> getInitializerBuilderList()
       A list of named tensor values, used to specify constant inputs of the graph.
       Each initializer (both TensorProto as well SparseTensorProto) MUST have a name.
       The name MUST be unique across both initializer and sparse_initializer,
       but the name MAY also appear in the input list.
       
      repeated .onnx.TensorProto initializer = 5;
    • getSparseInitializerList

      public List<OnnxMl.SparseTensorProto> getSparseInitializerList()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
      Specified by:
      getSparseInitializerList in interface OnnxMl.GraphProtoOrBuilder
    • getSparseInitializerCount

      public int getSparseInitializerCount()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
      Specified by:
      getSparseInitializerCount in interface OnnxMl.GraphProtoOrBuilder
    • getSparseInitializer

      public OnnxMl.SparseTensorProto getSparseInitializer(int index)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
      Specified by:
      getSparseInitializer in interface OnnxMl.GraphProtoOrBuilder
    • setSparseInitializer

      public OnnxMl.GraphProto.Builder setSparseInitializer(int index, OnnxMl.SparseTensorProto value)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • setSparseInitializer

      public OnnxMl.GraphProto.Builder setSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addSparseInitializer

      public OnnxMl.GraphProto.Builder addSparseInitializer(OnnxMl.SparseTensorProto value)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addSparseInitializer

      public OnnxMl.GraphProto.Builder addSparseInitializer(int index, OnnxMl.SparseTensorProto value)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addSparseInitializer

      public OnnxMl.GraphProto.Builder addSparseInitializer(OnnxMl.SparseTensorProto.Builder builderForValue)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addSparseInitializer

      public OnnxMl.GraphProto.Builder addSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addAllSparseInitializer

      public OnnxMl.GraphProto.Builder addAllSparseInitializer(Iterable<? extends OnnxMl.SparseTensorProto> values)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • clearSparseInitializer

      public OnnxMl.GraphProto.Builder clearSparseInitializer()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • removeSparseInitializer

      public OnnxMl.GraphProto.Builder removeSparseInitializer(int index)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • getSparseInitializerBuilder

      public OnnxMl.SparseTensorProto.Builder getSparseInitializerBuilder(int index)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • getSparseInitializerOrBuilder

      public OnnxMl.SparseTensorProtoOrBuilder getSparseInitializerOrBuilder(int index)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
      Specified by:
      getSparseInitializerOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getSparseInitializerOrBuilderList

      public List<? extends OnnxMl.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
      Specified by:
      getSparseInitializerOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addSparseInitializerBuilder

      public OnnxMl.SparseTensorProto.Builder addSparseInitializerBuilder()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • addSparseInitializerBuilder

      public OnnxMl.SparseTensorProto.Builder addSparseInitializerBuilder(int index)
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • getSparseInitializerBuilderList

      public List<OnnxMl.SparseTensorProto.Builder> getSparseInitializerBuilderList()
       Initializers (see above) stored in sparse format.
       
      repeated .onnx.SparseTensorProto sparse_initializer = 15;
    • hasDocString

      public boolean hasDocString()
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Specified by:
      hasDocString in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      Whether the docString field is set.
    • getDocString

      public String getDocString()
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Specified by:
      getDocString in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      The docString.
    • getDocStringBytes

      public com.google.protobuf.ByteString getDocStringBytes()
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Specified by:
      getDocStringBytes in interface OnnxMl.GraphProtoOrBuilder
      Returns:
      The bytes for docString.
    • setDocString

      public OnnxMl.GraphProto.Builder setDocString(String value)
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Parameters:
      value - The docString to set.
      Returns:
      This builder for chaining.
    • clearDocString

      public OnnxMl.GraphProto.Builder clearDocString()
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Returns:
      This builder for chaining.
    • setDocStringBytes

      public OnnxMl.GraphProto.Builder setDocStringBytes(com.google.protobuf.ByteString value)
       A human-readable documentation for this graph. Markdown is allowed.
       
      optional string doc_string = 10;
      Parameters:
      value - The bytes for docString to set.
      Returns:
      This builder for chaining.
    • getInputList

      public List<OnnxMl.ValueInfoProto> getInputList()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
      Specified by:
      getInputList in interface OnnxMl.GraphProtoOrBuilder
    • getInputCount

      public int getInputCount()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
      Specified by:
      getInputCount in interface OnnxMl.GraphProtoOrBuilder
    • getInput

      public OnnxMl.ValueInfoProto getInput(int index)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
      Specified by:
      getInput in interface OnnxMl.GraphProtoOrBuilder
    • setInput

      public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto value)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • setInput

      public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addInput

       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addInput

      public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto value)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addInput

      public OnnxMl.GraphProto.Builder addInput(OnnxMl.ValueInfoProto.Builder builderForValue)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addInput

      public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addAllInput

      public OnnxMl.GraphProto.Builder addAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • clearInput

      public OnnxMl.GraphProto.Builder clearInput()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • removeInput

      public OnnxMl.GraphProto.Builder removeInput(int index)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • getInputBuilder

      public OnnxMl.ValueInfoProto.Builder getInputBuilder(int index)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • getInputOrBuilder

      public OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
      Specified by:
      getInputOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getInputOrBuilderList

      public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
      Specified by:
      getInputOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addInputBuilder

      public OnnxMl.ValueInfoProto.Builder addInputBuilder()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • addInputBuilder

      public OnnxMl.ValueInfoProto.Builder addInputBuilder(int index)
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • getInputBuilderList

      public List<OnnxMl.ValueInfoProto.Builder> getInputBuilderList()
       The inputs and outputs of the graph.
       
      repeated .onnx.ValueInfoProto input = 11;
    • getOutputList

      public List<OnnxMl.ValueInfoProto> getOutputList()
      repeated .onnx.ValueInfoProto output = 12;
      Specified by:
      getOutputList in interface OnnxMl.GraphProtoOrBuilder
    • getOutputCount

      public int getOutputCount()
      repeated .onnx.ValueInfoProto output = 12;
      Specified by:
      getOutputCount in interface OnnxMl.GraphProtoOrBuilder
    • getOutput

      public OnnxMl.ValueInfoProto getOutput(int index)
      repeated .onnx.ValueInfoProto output = 12;
      Specified by:
      getOutput in interface OnnxMl.GraphProtoOrBuilder
    • setOutput

      public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto value)
      repeated .onnx.ValueInfoProto output = 12;
    • setOutput

      public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
      repeated .onnx.ValueInfoProto output = 12;
    • addOutput

      repeated .onnx.ValueInfoProto output = 12;
    • addOutput

      public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto value)
      repeated .onnx.ValueInfoProto output = 12;
    • addOutput

      public OnnxMl.GraphProto.Builder addOutput(OnnxMl.ValueInfoProto.Builder builderForValue)
      repeated .onnx.ValueInfoProto output = 12;
    • addOutput

      public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
      repeated .onnx.ValueInfoProto output = 12;
    • addAllOutput

      public OnnxMl.GraphProto.Builder addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)
      repeated .onnx.ValueInfoProto output = 12;
    • clearOutput

      public OnnxMl.GraphProto.Builder clearOutput()
      repeated .onnx.ValueInfoProto output = 12;
    • removeOutput

      public OnnxMl.GraphProto.Builder removeOutput(int index)
      repeated .onnx.ValueInfoProto output = 12;
    • getOutputBuilder

      public OnnxMl.ValueInfoProto.Builder getOutputBuilder(int index)
      repeated .onnx.ValueInfoProto output = 12;
    • getOutputOrBuilder

      public OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
      repeated .onnx.ValueInfoProto output = 12;
      Specified by:
      getOutputOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getOutputOrBuilderList

      public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
      repeated .onnx.ValueInfoProto output = 12;
      Specified by:
      getOutputOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addOutputBuilder

      public OnnxMl.ValueInfoProto.Builder addOutputBuilder()
      repeated .onnx.ValueInfoProto output = 12;
    • addOutputBuilder

      public OnnxMl.ValueInfoProto.Builder addOutputBuilder(int index)
      repeated .onnx.ValueInfoProto output = 12;
    • getOutputBuilderList

      public List<OnnxMl.ValueInfoProto.Builder> getOutputBuilderList()
      repeated .onnx.ValueInfoProto output = 12;
    • getValueInfoList

      public List<OnnxMl.ValueInfoProto> getValueInfoList()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
      Specified by:
      getValueInfoList in interface OnnxMl.GraphProtoOrBuilder
    • getValueInfoCount

      public int getValueInfoCount()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
      Specified by:
      getValueInfoCount in interface OnnxMl.GraphProtoOrBuilder
    • getValueInfo

      public OnnxMl.ValueInfoProto getValueInfo(int index)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
      Specified by:
      getValueInfo in interface OnnxMl.GraphProtoOrBuilder
    • setValueInfo

      public OnnxMl.GraphProto.Builder setValueInfo(int index, OnnxMl.ValueInfoProto value)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • setValueInfo

      public OnnxMl.GraphProto.Builder setValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addValueInfo

      public OnnxMl.GraphProto.Builder addValueInfo(OnnxMl.ValueInfoProto value)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addValueInfo

      public OnnxMl.GraphProto.Builder addValueInfo(int index, OnnxMl.ValueInfoProto value)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addValueInfo

      public OnnxMl.GraphProto.Builder addValueInfo(OnnxMl.ValueInfoProto.Builder builderForValue)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addValueInfo

      public OnnxMl.GraphProto.Builder addValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addAllValueInfo

      public OnnxMl.GraphProto.Builder addAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • clearValueInfo

      public OnnxMl.GraphProto.Builder clearValueInfo()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • removeValueInfo

      public OnnxMl.GraphProto.Builder removeValueInfo(int index)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • getValueInfoBuilder

      public OnnxMl.ValueInfoProto.Builder getValueInfoBuilder(int index)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • getValueInfoOrBuilder

      public OnnxMl.ValueInfoProtoOrBuilder getValueInfoOrBuilder(int index)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
      Specified by:
      getValueInfoOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getValueInfoOrBuilderList

      public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getValueInfoOrBuilderList()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
      Specified by:
      getValueInfoOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addValueInfoBuilder

      public OnnxMl.ValueInfoProto.Builder addValueInfoBuilder()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • addValueInfoBuilder

      public OnnxMl.ValueInfoProto.Builder addValueInfoBuilder(int index)
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • getValueInfoBuilderList

      public List<OnnxMl.ValueInfoProto.Builder> getValueInfoBuilderList()
       Information for the values in the graph. The ValueInfoProto.name's
       must be distinct. It is optional for a value to appear in value_info list.
       
      repeated .onnx.ValueInfoProto value_info = 13;
    • getQuantizationAnnotationList

      public List<OnnxMl.TensorAnnotation> getQuantizationAnnotationList()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
      Specified by:
      getQuantizationAnnotationList in interface OnnxMl.GraphProtoOrBuilder
    • getQuantizationAnnotationCount

      public int getQuantizationAnnotationCount()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
      Specified by:
      getQuantizationAnnotationCount in interface OnnxMl.GraphProtoOrBuilder
    • getQuantizationAnnotation

      public OnnxMl.TensorAnnotation getQuantizationAnnotation(int index)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
      Specified by:
      getQuantizationAnnotation in interface OnnxMl.GraphProtoOrBuilder
    • setQuantizationAnnotation

      public OnnxMl.GraphProto.Builder setQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • setQuantizationAnnotation

      public OnnxMl.GraphProto.Builder setQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addQuantizationAnnotation

      public OnnxMl.GraphProto.Builder addQuantizationAnnotation(OnnxMl.TensorAnnotation value)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addQuantizationAnnotation

      public OnnxMl.GraphProto.Builder addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addQuantizationAnnotation

      public OnnxMl.GraphProto.Builder addQuantizationAnnotation(OnnxMl.TensorAnnotation.Builder builderForValue)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addQuantizationAnnotation

      public OnnxMl.GraphProto.Builder addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addAllQuantizationAnnotation

      public OnnxMl.GraphProto.Builder addAllQuantizationAnnotation(Iterable<? extends OnnxMl.TensorAnnotation> values)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • clearQuantizationAnnotation

      public OnnxMl.GraphProto.Builder clearQuantizationAnnotation()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • removeQuantizationAnnotation

      public OnnxMl.GraphProto.Builder removeQuantizationAnnotation(int index)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • getQuantizationAnnotationBuilder

      public OnnxMl.TensorAnnotation.Builder getQuantizationAnnotationBuilder(int index)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • getQuantizationAnnotationOrBuilder

      public OnnxMl.TensorAnnotationOrBuilder getQuantizationAnnotationOrBuilder(int index)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
      Specified by:
      getQuantizationAnnotationOrBuilder in interface OnnxMl.GraphProtoOrBuilder
    • getQuantizationAnnotationOrBuilderList

      public List<? extends OnnxMl.TensorAnnotationOrBuilder> getQuantizationAnnotationOrBuilderList()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
      Specified by:
      getQuantizationAnnotationOrBuilderList in interface OnnxMl.GraphProtoOrBuilder
    • addQuantizationAnnotationBuilder

      public OnnxMl.TensorAnnotation.Builder addQuantizationAnnotationBuilder()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • addQuantizationAnnotationBuilder

      public OnnxMl.TensorAnnotation.Builder addQuantizationAnnotationBuilder(int index)
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • getQuantizationAnnotationBuilderList

      public List<OnnxMl.TensorAnnotation.Builder> getQuantizationAnnotationBuilderList()
       This field carries information to indicate the mapping among a tensor and its
       quantization parameter tensors. For example:
       For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated,
       which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
       
      repeated .onnx.TensorAnnotation quantization_annotation = 14;
    • setUnknownFields

      public final OnnxMl.GraphProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
    • mergeUnknownFields

      public final OnnxMl.GraphProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>