Class OnnxMl.GraphProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
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 Summary
Modifier and TypeMethodDescriptionaddAllInitializer(Iterable<? extends OnnxMl.TensorProto> values) A list of named tensor values, used to specify constant inputs of the graph.addAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values) The inputs and outputs of the graph.addAllNode(Iterable<? extends OnnxMl.NodeProto> values) The nodes in the graph, sorted topologically.addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values) repeated .onnx.ValueInfoProto output = 12;addAllQuantizationAnnotation(Iterable<? extends OnnxMl.TensorAnnotation> values) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.addAllSparseInitializer(Iterable<? extends OnnxMl.SparseTensorProto> values) Initializers (see above) stored in sparse format.addAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values) Information for the values in the graph.addInitializer(int index, OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.addInitializer(int index, OnnxMl.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.addInitializer(OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.addInitializer(OnnxMl.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.addInitializerBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.addInput(int index, OnnxMl.ValueInfoProto value) The inputs and outputs of the graph.addInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.addInput(OnnxMl.ValueInfoProto value) The inputs and outputs of the graph.addInput(OnnxMl.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.The inputs and outputs of the graph.addInputBuilder(int index) The inputs and outputs of the graph.addNode(int index, OnnxMl.NodeProto value) The nodes in the graph, sorted topologically.addNode(int index, OnnxMl.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.addNode(OnnxMl.NodeProto value) The nodes in the graph, sorted topologically.addNode(OnnxMl.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.addNodeBuilder(int index) The nodes in the graph, sorted topologically.addOutput(int index, OnnxMl.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;addOutput(OnnxMl.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;addOutput(OnnxMl.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;repeated .onnx.ValueInfoProto output = 12;addOutputBuilder(int index) repeated .onnx.ValueInfoProto output = 12;addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.addQuantizationAnnotation(OnnxMl.TensorAnnotation.Builder builderForValue) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.addQuantizationAnnotationBuilder(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSparseInitializer(int index, OnnxMl.SparseTensorProto value) Initializers (see above) stored in sparse format.addSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue) Initializers (see above) stored in sparse format.Initializers (see above) stored in sparse format.addSparseInitializer(OnnxMl.SparseTensorProto.Builder builderForValue) Initializers (see above) stored in sparse format.Initializers (see above) stored in sparse format.addSparseInitializerBuilder(int index) Initializers (see above) stored in sparse format.addValueInfo(int index, OnnxMl.ValueInfoProto value) Information for the values in the graph.addValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue) Information for the values in the graph.Information for the values in the graph.addValueInfo(OnnxMl.ValueInfoProto.Builder builderForValue) Information for the values in the graph.Information for the values in the graph.addValueInfoBuilder(int index) Information for the values in the graph.build()clear()A human-readable documentation for this graph.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of named tensor values, used to specify constant inputs of the graph.The inputs and outputs of the graph.The name of the graph.The nodes in the graph, sorted topologically.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .onnx.ValueInfoProto output = 12;This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Initializers (see above) stored in sparse format.Information for the values in the graph.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA human-readable documentation for this graph.com.google.protobuf.ByteStringA human-readable documentation for this graph.getInitializer(int index) A list of named tensor values, used to specify constant inputs of the graph.getInitializerBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.intA list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.getInitializerOrBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.List<? extends OnnxMl.TensorProtoOrBuilder> A list of named tensor values, used to specify constant inputs of the graph.getInput(int index) The inputs and outputs of the graph.getInputBuilder(int index) The inputs and outputs of the graph.The inputs and outputs of the graph.intThe inputs and outputs of the graph.The inputs and outputs of the graph.getInputOrBuilder(int index) The inputs and outputs of the graph.List<? extends OnnxMl.ValueInfoProtoOrBuilder> The inputs and outputs of the graph.getName()The name of the graph.com.google.protobuf.ByteStringThe name of the graph.getNode(int index) The nodes in the graph, sorted topologically.getNodeBuilder(int index) The nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.intThe nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.getNodeOrBuilder(int index) The nodes in the graph, sorted topologically.List<? extends OnnxMl.NodeProtoOrBuilder> The nodes in the graph, sorted topologically.getOutput(int index) repeated .onnx.ValueInfoProto output = 12;getOutputBuilder(int index) repeated .onnx.ValueInfoProto output = 12;repeated .onnx.ValueInfoProto output = 12;intrepeated .onnx.ValueInfoProto output = 12;repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilder(int index) repeated .onnx.ValueInfoProto output = 12;List<? extends OnnxMl.ValueInfoProtoOrBuilder> repeated .onnx.ValueInfoProto output = 12;getQuantizationAnnotation(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.getQuantizationAnnotationBuilder(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.intThis field carries information to indicate the mapping among a tensor and its quantization parameter tensors.This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.getQuantizationAnnotationOrBuilder(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<? extends OnnxMl.TensorAnnotationOrBuilder> This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.getSparseInitializer(int index) Initializers (see above) stored in sparse format.getSparseInitializerBuilder(int index) Initializers (see above) stored in sparse format.Initializers (see above) stored in sparse format.intInitializers (see above) stored in sparse format.Initializers (see above) stored in sparse format.getSparseInitializerOrBuilder(int index) Initializers (see above) stored in sparse format.List<? extends OnnxMl.SparseTensorProtoOrBuilder> Initializers (see above) stored in sparse format.getValueInfo(int index) Information for the values in the graph.getValueInfoBuilder(int index) Information for the values in the graph.Information for the values in the graph.intInformation for the values in the graph.Information for the values in the graph.getValueInfoOrBuilder(int index) Information for the values in the graph.List<? extends OnnxMl.ValueInfoProtoOrBuilder> Information for the values in the graph.booleanA human-readable documentation for this graph.booleanhasName()The name of the graph.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(OnnxMl.GraphProto other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInitializer(int index) A list of named tensor values, used to specify constant inputs of the graph.removeInput(int index) The inputs and outputs of the graph.removeNode(int index) The nodes in the graph, sorted topologically.removeOutput(int index) repeated .onnx.ValueInfoProto output = 12;removeQuantizationAnnotation(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.removeSparseInitializer(int index) Initializers (see above) stored in sparse format.removeValueInfo(int index) Information for the values in the graph.setDocString(String value) A human-readable documentation for this graph.setDocStringBytes(com.google.protobuf.ByteString value) A human-readable documentation for this graph.setInitializer(int index, OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.setInitializer(int index, OnnxMl.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.setInput(int index, OnnxMl.ValueInfoProto value) The inputs and outputs of the graph.setInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.The name of the graph.setNameBytes(com.google.protobuf.ByteString value) The name of the graph.setNode(int index, OnnxMl.NodeProto value) The nodes in the graph, sorted topologically.setNode(int index, OnnxMl.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.setOutput(int index, OnnxMl.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;setOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;setQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.setQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSparseInitializer(int index, OnnxMl.SparseTensorProto value) Initializers (see above) stored in sparse format.setSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue) Initializers (see above) stored in sparse format.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValueInfo(int index, OnnxMl.ValueInfoProto value) Information for the values in the graph.setValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue) Information for the values in the graph.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
setField
public OnnxMl.GraphProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
addRepeatedField
public OnnxMl.GraphProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>- Throws:
IOException
-
getNodeList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeListin interfaceOnnxMl.GraphProtoOrBuilder
-
getNodeCount
public int getNodeCount()The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodein interfaceOnnxMl.GraphProtoOrBuilder
-
setNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
setNode
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
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
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
addAllNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
clearNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
removeNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
getNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
getNodeOrBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
addNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1; -
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:
hasNamein interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the graph.
optional string name = 2;- Specified by:
getNamein interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the graph.
optional string name = 2;- Specified by:
getNameBytesin interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the graph.
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the graph.
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the graph.
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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:
getInitializerListin interfaceOnnxMl.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:
getInitializerCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getInitializer
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:
getInitializerin interfaceOnnxMl.GraphProtoOrBuilder
-
setInitializer
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
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
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
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
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
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
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
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
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:
getInitializerOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
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:
getInitializerOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
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
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
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
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerListin interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializerCount
public int getSparseInitializerCount()Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializer
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerin interfaceOnnxMl.GraphProtoOrBuilder
-
setSparseInitializer
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
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
addSparseInitializer
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
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
removeSparseInitializer
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
getSparseInitializerBuilder
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
getSparseInitializerOrBuilder
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addSparseInitializerBuilder
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
addSparseInitializerBuilder
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15; -
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:
hasDocStringin interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;- Specified by:
getDocStringin interfaceOnnxMl.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:
getDocStringBytesin interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
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
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;- Returns:
- This builder for chaining.
-
setDocStringBytes
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
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputListin interfaceOnnxMl.GraphProtoOrBuilder
-
getInputCount
public int getInputCount()The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputin interfaceOnnxMl.GraphProtoOrBuilder
-
setInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
setInput
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
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
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
addAllInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
clearInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
removeInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
getInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
getInputOrBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getInputOrBuilderList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
addInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
getInputBuilderList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11; -
getOutputList
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputListin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutput
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputin interfaceOnnxMl.GraphProtoOrBuilder
-
setOutput
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
repeated .onnx.ValueInfoProto output = 12; -
addOutput
repeated .onnx.ValueInfoProto output = 12; -
addOutput
public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12; -
addAllOutput
repeated .onnx.ValueInfoProto output = 12; -
clearOutput
repeated .onnx.ValueInfoProto output = 12; -
removeOutput
repeated .onnx.ValueInfoProto output = 12; -
getOutputBuilder
repeated .onnx.ValueInfoProto output = 12; -
getOutputOrBuilder
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputOrBuilderList
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addOutputBuilder
repeated .onnx.ValueInfoProto output = 12; -
addOutputBuilder
repeated .onnx.ValueInfoProto output = 12; -
getOutputBuilderList
repeated .onnx.ValueInfoProto output = 12; -
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:
getValueInfoListin interfaceOnnxMl.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:
getValueInfoCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getValueInfo
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:
getValueInfoin interfaceOnnxMl.GraphProtoOrBuilder
-
setValueInfo
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
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
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
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
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
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
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
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
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:
getValueInfoOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
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:
getValueInfoOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
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
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
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
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:
getQuantizationAnnotationListin interfaceOnnxMl.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:
getQuantizationAnnotationCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getQuantizationAnnotation
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:
getQuantizationAnnotationin interfaceOnnxMl.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
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
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
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
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
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:
getQuantizationAnnotationOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
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:
getQuantizationAnnotationOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeUnknownFields
public final OnnxMl.GraphProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-