Package onnx
Class Onnx.GraphProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
- onnx.Onnx.GraphProto.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.GraphProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- Onnx.GraphProto
public static final class Onnx.GraphProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder> implements Onnx.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 typeonnx.GraphProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.GraphProto.BuilderaddAllInitializer(Iterable<? extends Onnx.TensorProto> values)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderaddAllInput(Iterable<? extends Onnx.ValueInfoProto> values)The inputs and outputs of the graph.Onnx.GraphProto.BuilderaddAllNode(Iterable<? extends Onnx.NodeProto> values)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderaddAllOutput(Iterable<? extends Onnx.ValueInfoProto> values)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderaddAllQuantizationAnnotation(Iterable<? extends Onnx.TensorAnnotation> values)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderaddAllSparseInitializer(Iterable<? extends Onnx.SparseTensorProto> values)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderaddAllValueInfo(Iterable<? extends Onnx.ValueInfoProto> values)Information for the values in the graph.Onnx.GraphProto.BuilderaddInitializer(int index, Onnx.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderaddInitializer(int index, Onnx.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderaddInitializer(Onnx.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderaddInitializer(Onnx.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.BuilderaddInitializerBuilder()A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.BuilderaddInitializerBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderaddInput(int index, Onnx.ValueInfoProto value)The inputs and outputs of the graph.Onnx.GraphProto.BuilderaddInput(int index, Onnx.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.Onnx.GraphProto.BuilderaddInput(Onnx.ValueInfoProto value)The inputs and outputs of the graph.Onnx.GraphProto.BuilderaddInput(Onnx.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.Onnx.ValueInfoProto.BuilderaddInputBuilder()The inputs and outputs of the graph.Onnx.ValueInfoProto.BuilderaddInputBuilder(int index)The inputs and outputs of the graph.Onnx.GraphProto.BuilderaddNode(int index, Onnx.NodeProto value)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderaddNode(int index, Onnx.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderaddNode(Onnx.NodeProto value)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderaddNode(Onnx.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.Onnx.NodeProto.BuilderaddNodeBuilder()The nodes in the graph, sorted topologically.Onnx.NodeProto.BuilderaddNodeBuilder(int index)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderaddOutput(int index, Onnx.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderaddOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderaddOutput(Onnx.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderaddOutput(Onnx.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;Onnx.ValueInfoProto.BuilderaddOutputBuilder()repeated .onnx.ValueInfoProto output = 12;Onnx.ValueInfoProto.BuilderaddOutputBuilder(int index)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderaddQuantizationAnnotation(int index, Onnx.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderaddQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderaddQuantizationAnnotation(Onnx.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderaddQuantizationAnnotation(Onnx.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.BuilderaddQuantizationAnnotationBuilder()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.BuilderaddQuantizationAnnotationBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.GraphProto.BuilderaddSparseInitializer(int index, Onnx.SparseTensorProto value)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderaddSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderaddSparseInitializer(Onnx.SparseTensorProto value)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderaddSparseInitializer(Onnx.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.BuilderaddSparseInitializerBuilder()Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.BuilderaddSparseInitializerBuilder(int index)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderaddValueInfo(int index, Onnx.ValueInfoProto value)Information for the values in the graph.Onnx.GraphProto.BuilderaddValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)Information for the values in the graph.Onnx.GraphProto.BuilderaddValueInfo(Onnx.ValueInfoProto value)Information for the values in the graph.Onnx.GraphProto.BuilderaddValueInfo(Onnx.ValueInfoProto.Builder builderForValue)Information for the values in the graph.Onnx.ValueInfoProto.BuilderaddValueInfoBuilder()Information for the values in the graph.Onnx.ValueInfoProto.BuilderaddValueInfoBuilder(int index)Information for the values in the graph.Onnx.GraphProtobuild()Onnx.GraphProtobuildPartial()Onnx.GraphProto.Builderclear()Onnx.GraphProto.BuilderclearDocString()A human-readable documentation for this graph.Onnx.GraphProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.GraphProto.BuilderclearInitializer()A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderclearInput()The inputs and outputs of the graph.Onnx.GraphProto.BuilderclearName()The name of the graph.Onnx.GraphProto.BuilderclearNode()The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.GraphProto.BuilderclearOutput()repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderclearQuantizationAnnotation()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderclearSparseInitializer()Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderclearValueInfo()Information for the values in the graph.Onnx.GraphProto.Builderclone()Onnx.GraphProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this graph.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this graph.Onnx.TensorProtogetInitializer(int index)A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.BuildergetInitializerBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.List<Onnx.TensorProto.Builder>getInitializerBuilderList()A list of named tensor values, used to specify constant inputs of the graph.intgetInitializerCount()A list of named tensor values, used to specify constant inputs of the graph.List<Onnx.TensorProto>getInitializerList()A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProtoOrBuildergetInitializerOrBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.List<? extends Onnx.TensorProtoOrBuilder>getInitializerOrBuilderList()A list of named tensor values, used to specify constant inputs of the graph.Onnx.ValueInfoProtogetInput(int index)The inputs and outputs of the graph.Onnx.ValueInfoProto.BuildergetInputBuilder(int index)The inputs and outputs of the graph.List<Onnx.ValueInfoProto.Builder>getInputBuilderList()The inputs and outputs of the graph.intgetInputCount()The inputs and outputs of the graph.List<Onnx.ValueInfoProto>getInputList()The inputs and outputs of the graph.Onnx.ValueInfoProtoOrBuildergetInputOrBuilder(int index)The inputs and outputs of the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>getInputOrBuilderList()The inputs and outputs of the graph.StringgetName()The name of the graph.org.nd4j.shade.protobuf.ByteStringgetNameBytes()The name of the graph.Onnx.NodeProtogetNode(int index)The nodes in the graph, sorted topologically.Onnx.NodeProto.BuildergetNodeBuilder(int index)The nodes in the graph, sorted topologically.List<Onnx.NodeProto.Builder>getNodeBuilderList()The nodes in the graph, sorted topologically.intgetNodeCount()The nodes in the graph, sorted topologically.List<Onnx.NodeProto>getNodeList()The nodes in the graph, sorted topologically.Onnx.NodeProtoOrBuildergetNodeOrBuilder(int index)The nodes in the graph, sorted topologically.List<? extends Onnx.NodeProtoOrBuilder>getNodeOrBuilderList()The nodes in the graph, sorted topologically.Onnx.ValueInfoProtogetOutput(int index)repeated .onnx.ValueInfoProto output = 12;Onnx.ValueInfoProto.BuildergetOutputBuilder(int index)repeated .onnx.ValueInfoProto output = 12;List<Onnx.ValueInfoProto.Builder>getOutputBuilderList()repeated .onnx.ValueInfoProto output = 12;intgetOutputCount()repeated .onnx.ValueInfoProto output = 12;List<Onnx.ValueInfoProto>getOutputList()repeated .onnx.ValueInfoProto output = 12;Onnx.ValueInfoProtoOrBuildergetOutputOrBuilder(int index)repeated .onnx.ValueInfoProto output = 12;List<? extends Onnx.ValueInfoProtoOrBuilder>getOutputOrBuilderList()repeated .onnx.ValueInfoProto output = 12;Onnx.TensorAnnotationgetQuantizationAnnotation(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.BuildergetQuantizationAnnotationBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<Onnx.TensorAnnotation.Builder>getQuantizationAnnotationBuilderList()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.intgetQuantizationAnnotationCount()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<Onnx.TensorAnnotation>getQuantizationAnnotationList()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotationOrBuildergetQuantizationAnnotationOrBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<? extends Onnx.TensorAnnotationOrBuilder>getQuantizationAnnotationOrBuilderList()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.SparseTensorProtogetSparseInitializer(int index)Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.BuildergetSparseInitializerBuilder(int index)Initializers (see above) stored in sparse format.List<Onnx.SparseTensorProto.Builder>getSparseInitializerBuilderList()Initializers (see above) stored in sparse format.intgetSparseInitializerCount()Initializers (see above) stored in sparse format.List<Onnx.SparseTensorProto>getSparseInitializerList()Initializers (see above) stored in sparse format.Onnx.SparseTensorProtoOrBuildergetSparseInitializerOrBuilder(int index)Initializers (see above) stored in sparse format.List<? extends Onnx.SparseTensorProtoOrBuilder>getSparseInitializerOrBuilderList()Initializers (see above) stored in sparse format.Onnx.ValueInfoProtogetValueInfo(int index)Information for the values in the graph.Onnx.ValueInfoProto.BuildergetValueInfoBuilder(int index)Information for the values in the graph.List<Onnx.ValueInfoProto.Builder>getValueInfoBuilderList()Information for the values in the graph.intgetValueInfoCount()Information for the values in the graph.List<Onnx.ValueInfoProto>getValueInfoList()Information for the values in the graph.Onnx.ValueInfoProtoOrBuildergetValueInfoOrBuilder(int index)Information for the values in the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>getValueInfoOrBuilderList()Information for the values in the graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.GraphProto.BuildermergeFrom(Onnx.GraphProto other)Onnx.GraphProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.GraphProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.GraphProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.GraphProto.BuilderremoveInitializer(int index)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuilderremoveInput(int index)The inputs and outputs of the graph.Onnx.GraphProto.BuilderremoveNode(int index)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuilderremoveOutput(int index)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuilderremoveQuantizationAnnotation(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuilderremoveSparseInitializer(int index)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuilderremoveValueInfo(int index)Information for the values in the graph.Onnx.GraphProto.BuildersetDocString(String value)A human-readable documentation for this graph.Onnx.GraphProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this graph.Onnx.GraphProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.GraphProto.BuildersetInitializer(int index, Onnx.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuildersetInitializer(int index, Onnx.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.BuildersetInput(int index, Onnx.ValueInfoProto value)The inputs and outputs of the graph.Onnx.GraphProto.BuildersetInput(int index, Onnx.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.Onnx.GraphProto.BuildersetName(String value)The name of the graph.Onnx.GraphProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)The name of the graph.Onnx.GraphProto.BuildersetNode(int index, Onnx.NodeProto value)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuildersetNode(int index, Onnx.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.Onnx.GraphProto.BuildersetOutput(int index, Onnx.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuildersetOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;Onnx.GraphProto.BuildersetQuantizationAnnotation(int index, Onnx.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuildersetQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.GraphProto.BuildersetSparseInitializer(int index, Onnx.SparseTensorProto value)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuildersetSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.Onnx.GraphProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.GraphProto.BuildersetValueInfo(int index, Onnx.ValueInfoProto value)Information for the values in the graph.Onnx.GraphProto.BuildersetValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)Information for the values in the graph.-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clear
public Onnx.GraphProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
getDefaultInstanceForType
public Onnx.GraphProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.GraphProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.GraphProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.GraphProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
setField
public Onnx.GraphProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clearField
public Onnx.GraphProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clearOneof
public Onnx.GraphProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
setRepeatedField
public Onnx.GraphProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
addRepeatedField
public Onnx.GraphProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(Onnx.GraphProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.GraphProto.Builder>- Throws:
IOException
-
getNodeList
public List<Onnx.NodeProto> getNodeList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeListin interfaceOnnx.GraphProtoOrBuilder
-
getNodeCount
public int getNodeCount()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeCountin interfaceOnnx.GraphProtoOrBuilder
-
getNode
public Onnx.NodeProto getNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodein interfaceOnnx.GraphProtoOrBuilder
-
setNode
public Onnx.GraphProto.Builder setNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
setNode
public Onnx.GraphProto.Builder setNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addAllNode
public Onnx.GraphProto.Builder addAllNode(Iterable<? extends Onnx.NodeProto> values)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
clearNode
public Onnx.GraphProto.Builder clearNode()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
removeNode
public Onnx.GraphProto.Builder removeNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilder
public Onnx.NodeProto.Builder getNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeOrBuilder
public Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilderList
public List<Onnx.NodeProto.Builder> getNodeBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getName
public String getName()
The name of the graph.
string name = 2;- Specified by:
getNamein interfaceOnnx.GraphProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;- Specified by:
getNameBytesin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public Onnx.GraphProto.Builder setName(String value)
The name of the graph.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Onnx.GraphProto.Builder clearName()
The name of the graph.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public Onnx.GraphProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the graph.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInitializerList
public List<Onnx.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:
getInitializerListin interfaceOnnx.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 interfaceOnnx.GraphProtoOrBuilder
-
getInitializer
public Onnx.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:
getInitializerin interfaceOnnx.GraphProtoOrBuilder
-
setInitializer
public Onnx.GraphProto.Builder setInitializer(int index, Onnx.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 Onnx.GraphProto.Builder setInitializer(int index, Onnx.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 Onnx.GraphProto.Builder addInitializer(Onnx.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 Onnx.GraphProto.Builder addInitializer(int index, Onnx.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 Onnx.GraphProto.Builder addInitializer(Onnx.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 Onnx.GraphProto.Builder addInitializer(int index, Onnx.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 Onnx.GraphProto.Builder addAllInitializer(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getInitializerOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getInitializerOrBuilderList
public List<? extends Onnx.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:
getInitializerOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addInitializerBuilder
public Onnx.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 Onnx.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<Onnx.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<Onnx.SparseTensorProto> getSparseInitializerList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerListin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerCount
public int getSparseInitializerCount()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerCountin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializer
public Onnx.SparseTensorProto getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerin interfaceOnnx.GraphProtoOrBuilder
-
setSparseInitializer
public Onnx.GraphProto.Builder setSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
setSparseInitializer
public Onnx.GraphProto.Builder setSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addAllSparseInitializer
public Onnx.GraphProto.Builder addAllSparseInitializer(Iterable<? extends Onnx.SparseTensorProto> values)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
clearSparseInitializer
public Onnx.GraphProto.Builder clearSparseInitializer()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
removeSparseInitializer
public Onnx.GraphProto.Builder removeSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder getSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerOrBuilder
public Onnx.SparseTensorProtoOrBuilder getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
public List<? extends Onnx.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder addSparseInitializerBuilder()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder addSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilderList
public List<Onnx.SparseTensorProto.Builder> getSparseInitializerBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getDocString
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Specified by:
getDocStringin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Specified by:
getDocStringBytesin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public Onnx.GraphProto.Builder setDocString(String value)
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public Onnx.GraphProto.Builder clearDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.GraphProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getInputList
public List<Onnx.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputListin interfaceOnnx.GraphProtoOrBuilder
-
getInputCount
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputCountin interfaceOnnx.GraphProtoOrBuilder
-
getInput
public Onnx.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputin interfaceOnnx.GraphProtoOrBuilder
-
setInput
public Onnx.GraphProto.Builder setInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
setInput
public Onnx.GraphProto.Builder setInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addAllInput
public Onnx.GraphProto.Builder addAllInput(Iterable<? extends Onnx.ValueInfoProto> values)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
clearInput
public Onnx.GraphProto.Builder clearInput()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
removeInput
public Onnx.GraphProto.Builder removeInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilder
public Onnx.ValueInfoProto.Builder getInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputOrBuilder
public Onnx.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getInputOrBuilderList
public List<? extends Onnx.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addInputBuilder
public Onnx.ValueInfoProto.Builder addInputBuilder()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInputBuilder
public Onnx.ValueInfoProto.Builder addInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilderList
public List<Onnx.ValueInfoProto.Builder> getInputBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getOutputList
public List<Onnx.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputListin interfaceOnnx.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputCountin interfaceOnnx.GraphProtoOrBuilder
-
getOutput
public Onnx.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputin interfaceOnnx.GraphProtoOrBuilder
-
setOutput
public Onnx.GraphProto.Builder setOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
setOutput
public Onnx.GraphProto.Builder setOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addAllOutput
public Onnx.GraphProto.Builder addAllOutput(Iterable<? extends Onnx.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
-
clearOutput
public Onnx.GraphProto.Builder clearOutput()
repeated .onnx.ValueInfoProto output = 12;
-
removeOutput
public Onnx.GraphProto.Builder removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilder
public Onnx.ValueInfoProto.Builder getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilder
public Onnx.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getOutputOrBuilderList
public List<? extends Onnx.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addOutputBuilder
public Onnx.ValueInfoProto.Builder addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
-
addOutputBuilder
public Onnx.ValueInfoProto.Builder addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilderList
public List<Onnx.ValueInfoProto.Builder> getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
-
getValueInfoList
public List<Onnx.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:
getValueInfoListin interfaceOnnx.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 interfaceOnnx.GraphProtoOrBuilder
-
getValueInfo
public Onnx.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:
getValueInfoin interfaceOnnx.GraphProtoOrBuilder
-
setValueInfo
public Onnx.GraphProto.Builder setValueInfo(int index, Onnx.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 Onnx.GraphProto.Builder setValueInfo(int index, Onnx.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 Onnx.GraphProto.Builder addValueInfo(Onnx.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 Onnx.GraphProto.Builder addValueInfo(int index, Onnx.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 Onnx.GraphProto.Builder addValueInfo(Onnx.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 Onnx.GraphProto.Builder addValueInfo(int index, Onnx.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 Onnx.GraphProto.Builder addAllValueInfo(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getValueInfoOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoOrBuilderList
public List<? extends Onnx.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:
getValueInfoOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addValueInfoBuilder
public Onnx.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 Onnx.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<Onnx.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<Onnx.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:
getQuantizationAnnotationListin interfaceOnnx.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 interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotation
public Onnx.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:
getQuantizationAnnotationin interfaceOnnx.GraphProtoOrBuilder
-
setQuantizationAnnotation
public Onnx.GraphProto.Builder setQuantizationAnnotation(int index, Onnx.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 Onnx.GraphProto.Builder setQuantizationAnnotation(int index, Onnx.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 Onnx.GraphProto.Builder addQuantizationAnnotation(Onnx.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 Onnx.GraphProto.Builder addQuantizationAnnotation(int index, Onnx.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 Onnx.GraphProto.Builder addQuantizationAnnotation(Onnx.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 Onnx.GraphProto.Builder addQuantizationAnnotation(int index, Onnx.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 Onnx.GraphProto.Builder addAllQuantizationAnnotation(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getQuantizationAnnotationOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationOrBuilderList
public List<? extends Onnx.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:
getQuantizationAnnotationOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
addQuantizationAnnotationBuilder
public Onnx.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 Onnx.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<Onnx.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 Onnx.GraphProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeUnknownFields
public final Onnx.GraphProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
-