Package onnx
Class OnnxMl.GraphProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
- onnx.OnnxMl.GraphProto.Builder
-
- All Implemented Interfaces:
Cloneable,OnnxMl.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:
- OnnxMl.GraphProto
public static final class OnnxMl.GraphProto.Builder extends org.nd4j.shade.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 typeonnx.GraphProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.GraphProto.BuilderaddAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderaddAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderaddAllNode(Iterable<? extends OnnxMl.NodeProto> values)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderaddAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderaddAllQuantizationAnnotation(Iterable<? extends OnnxMl.TensorAnnotation> values)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderaddAllSparseInitializer(Iterable<? extends OnnxMl.SparseTensorProto> values)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderaddAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values)Information for the values in the graph.OnnxMl.GraphProto.BuilderaddInitializer(int index, OnnxMl.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderaddInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderaddInitializer(OnnxMl.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderaddInitializer(OnnxMl.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.BuilderaddInitializerBuilder()A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.BuilderaddInitializerBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderaddInput(int index, OnnxMl.ValueInfoProto value)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderaddInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderaddInput(OnnxMl.ValueInfoProto value)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderaddInput(OnnxMl.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.OnnxMl.ValueInfoProto.BuilderaddInputBuilder()The inputs and outputs of the graph.OnnxMl.ValueInfoProto.BuilderaddInputBuilder(int index)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderaddNode(int index, OnnxMl.NodeProto value)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderaddNode(int index, OnnxMl.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderaddNode(OnnxMl.NodeProto value)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderaddNode(OnnxMl.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.OnnxMl.NodeProto.BuilderaddNodeBuilder()The nodes in the graph, sorted topologically.OnnxMl.NodeProto.BuilderaddNodeBuilder(int index)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderaddOutput(int index, OnnxMl.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderaddOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderaddOutput(OnnxMl.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderaddOutput(OnnxMl.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProto.BuilderaddOutputBuilder()repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProto.BuilderaddOutputBuilder(int index)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderaddQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderaddQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderaddQuantizationAnnotation(OnnxMl.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderaddQuantizationAnnotation(OnnxMl.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.BuilderaddQuantizationAnnotationBuilder()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.BuilderaddQuantizationAnnotationBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.GraphProto.BuilderaddSparseInitializer(int index, OnnxMl.SparseTensorProto value)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderaddSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderaddSparseInitializer(OnnxMl.SparseTensorProto value)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderaddSparseInitializer(OnnxMl.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.BuilderaddSparseInitializerBuilder()Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.BuilderaddSparseInitializerBuilder(int index)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderaddValueInfo(int index, OnnxMl.ValueInfoProto value)Information for the values in the graph.OnnxMl.GraphProto.BuilderaddValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)Information for the values in the graph.OnnxMl.GraphProto.BuilderaddValueInfo(OnnxMl.ValueInfoProto value)Information for the values in the graph.OnnxMl.GraphProto.BuilderaddValueInfo(OnnxMl.ValueInfoProto.Builder builderForValue)Information for the values in the graph.OnnxMl.ValueInfoProto.BuilderaddValueInfoBuilder()Information for the values in the graph.OnnxMl.ValueInfoProto.BuilderaddValueInfoBuilder(int index)Information for the values in the graph.OnnxMl.GraphProtobuild()OnnxMl.GraphProtobuildPartial()OnnxMl.GraphProto.Builderclear()OnnxMl.GraphProto.BuilderclearDocString()A human-readable documentation for this graph.OnnxMl.GraphProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)OnnxMl.GraphProto.BuilderclearInitializer()A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderclearInput()The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderclearName()The name of the graph.OnnxMl.GraphProto.BuilderclearNode()The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)OnnxMl.GraphProto.BuilderclearOutput()repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderclearQuantizationAnnotation()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderclearSparseInitializer()Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderclearValueInfo()Information for the values in the graph.OnnxMl.GraphProto.Builderclone()OnnxMl.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.OnnxMl.TensorProtogetInitializer(int index)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.BuildergetInitializerBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.List<OnnxMl.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<OnnxMl.TensorProto>getInitializerList()A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProtoOrBuildergetInitializerOrBuilder(int index)A list of named tensor values, used to specify constant inputs of the graph.List<? extends OnnxMl.TensorProtoOrBuilder>getInitializerOrBuilderList()A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.ValueInfoProtogetInput(int index)The inputs and outputs of the graph.OnnxMl.ValueInfoProto.BuildergetInputBuilder(int index)The inputs and outputs of the graph.List<OnnxMl.ValueInfoProto.Builder>getInputBuilderList()The inputs and outputs of the graph.intgetInputCount()The inputs and outputs of the graph.List<OnnxMl.ValueInfoProto>getInputList()The inputs and outputs of the graph.OnnxMl.ValueInfoProtoOrBuildergetInputOrBuilder(int index)The inputs and outputs of the graph.List<? extends OnnxMl.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.OnnxMl.NodeProtogetNode(int index)The nodes in the graph, sorted topologically.OnnxMl.NodeProto.BuildergetNodeBuilder(int index)The nodes in the graph, sorted topologically.List<OnnxMl.NodeProto.Builder>getNodeBuilderList()The nodes in the graph, sorted topologically.intgetNodeCount()The nodes in the graph, sorted topologically.List<OnnxMl.NodeProto>getNodeList()The nodes in the graph, sorted topologically.OnnxMl.NodeProtoOrBuildergetNodeOrBuilder(int index)The nodes in the graph, sorted topologically.List<? extends OnnxMl.NodeProtoOrBuilder>getNodeOrBuilderList()The nodes in the graph, sorted topologically.OnnxMl.ValueInfoProtogetOutput(int index)repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProto.BuildergetOutputBuilder(int index)repeated .onnx.ValueInfoProto output = 12;List<OnnxMl.ValueInfoProto.Builder>getOutputBuilderList()repeated .onnx.ValueInfoProto output = 12;intgetOutputCount()repeated .onnx.ValueInfoProto output = 12;List<OnnxMl.ValueInfoProto>getOutputList()repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProtoOrBuildergetOutputOrBuilder(int index)repeated .onnx.ValueInfoProto output = 12;List<? extends OnnxMl.ValueInfoProtoOrBuilder>getOutputOrBuilderList()repeated .onnx.ValueInfoProto output = 12;OnnxMl.TensorAnnotationgetQuantizationAnnotation(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.BuildergetQuantizationAnnotationBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<OnnxMl.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<OnnxMl.TensorAnnotation>getQuantizationAnnotationList()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotationOrBuildergetQuantizationAnnotationOrBuilder(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<? extends OnnxMl.TensorAnnotationOrBuilder>getQuantizationAnnotationOrBuilderList()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.SparseTensorProtogetSparseInitializer(int index)Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.BuildergetSparseInitializerBuilder(int index)Initializers (see above) stored in sparse format.List<OnnxMl.SparseTensorProto.Builder>getSparseInitializerBuilderList()Initializers (see above) stored in sparse format.intgetSparseInitializerCount()Initializers (see above) stored in sparse format.List<OnnxMl.SparseTensorProto>getSparseInitializerList()Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProtoOrBuildergetSparseInitializerOrBuilder(int index)Initializers (see above) stored in sparse format.List<? extends OnnxMl.SparseTensorProtoOrBuilder>getSparseInitializerOrBuilderList()Initializers (see above) stored in sparse format.OnnxMl.ValueInfoProtogetValueInfo(int index)Information for the values in the graph.OnnxMl.ValueInfoProto.BuildergetValueInfoBuilder(int index)Information for the values in the graph.List<OnnxMl.ValueInfoProto.Builder>getValueInfoBuilderList()Information for the values in the graph.intgetValueInfoCount()Information for the values in the graph.List<OnnxMl.ValueInfoProto>getValueInfoList()Information for the values in the graph.OnnxMl.ValueInfoProtoOrBuildergetValueInfoOrBuilder(int index)Information for the values in the graph.List<? extends OnnxMl.ValueInfoProtoOrBuilder>getValueInfoOrBuilderList()Information for the values in the graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OnnxMl.GraphProto.BuildermergeFrom(OnnxMl.GraphProto other)OnnxMl.GraphProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)OnnxMl.GraphProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)OnnxMl.GraphProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxMl.GraphProto.BuilderremoveInitializer(int index)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuilderremoveInput(int index)The inputs and outputs of the graph.OnnxMl.GraphProto.BuilderremoveNode(int index)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuilderremoveOutput(int index)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuilderremoveQuantizationAnnotation(int index)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuilderremoveSparseInitializer(int index)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuilderremoveValueInfo(int index)Information for the values in the graph.OnnxMl.GraphProto.BuildersetDocString(String value)A human-readable documentation for this graph.OnnxMl.GraphProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this graph.OnnxMl.GraphProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.GraphProto.BuildersetInitializer(int index, OnnxMl.TensorProto value)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuildersetInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.BuildersetInput(int index, OnnxMl.ValueInfoProto value)The inputs and outputs of the graph.OnnxMl.GraphProto.BuildersetInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)The inputs and outputs of the graph.OnnxMl.GraphProto.BuildersetName(String value)The name of the graph.OnnxMl.GraphProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)The name of the graph.OnnxMl.GraphProto.BuildersetNode(int index, OnnxMl.NodeProto value)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuildersetNode(int index, OnnxMl.NodeProto.Builder builderForValue)The nodes in the graph, sorted topologically.OnnxMl.GraphProto.BuildersetOutput(int index, OnnxMl.ValueInfoProto value)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuildersetOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)repeated .onnx.ValueInfoProto output = 12;OnnxMl.GraphProto.BuildersetQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuildersetQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue)This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OnnxMl.GraphProto.BuildersetSparseInitializer(int index, OnnxMl.SparseTensorProto value)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuildersetSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)Initializers (see above) stored in sparse format.OnnxMl.GraphProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxMl.GraphProto.BuildersetValueInfo(int index, OnnxMl.ValueInfoProto value)Information for the values in the graph.OnnxMl.GraphProto.BuildersetValueInfo(int index, OnnxMl.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<OnnxMl.GraphProto.Builder>
-
clear
public OnnxMl.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<OnnxMl.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<OnnxMl.GraphProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.GraphProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.GraphProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.GraphProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
setField
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
clearField
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
clearOneof
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
setRepeatedField
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
addRepeatedField
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
mergeFrom
public OnnxMl.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<OnnxMl.GraphProto.Builder>
-
mergeFrom
public OnnxMl.GraphProto.Builder mergeFrom(OnnxMl.GraphProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeFrom
public OnnxMl.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<OnnxMl.GraphProto.Builder>- Throws:
IOException
-
getNodeList
public List<OnnxMl.NodeProto> getNodeList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
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
public OnnxMl.NodeProto getNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodein interfaceOnnxMl.GraphProtoOrBuilder
-
setNode
public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
setNode
public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public OnnxMl.GraphProto.Builder addNode(OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public OnnxMl.GraphProto.Builder addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addAllNode
public OnnxMl.GraphProto.Builder addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
clearNode
public OnnxMl.GraphProto.Builder clearNode()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
removeNode
public OnnxMl.GraphProto.Builder removeNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilder
public OnnxMl.NodeProto.Builder getNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeOrBuilder
public OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addNodeBuilder
public OnnxMl.NodeProto.Builder addNodeBuilder()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNodeBuilder
public OnnxMl.NodeProto.Builder addNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilderList
public List<OnnxMl.NodeProto.Builder> getNodeBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getName
public String getName()
The name of the graph.
string name = 2;- Specified by:
getNamein interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;- Specified by:
getNameBytesin interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public OnnxMl.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 OnnxMl.GraphProto.Builder clearName()
The name of the graph.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public OnnxMl.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<OnnxMl.TensorProto> getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
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
public OnnxMl.TensorProto getInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerin interfaceOnnxMl.GraphProtoOrBuilder
-
setInitializer
public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
setInitializer
public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addAllInitializer
public OnnxMl.GraphProto.Builder addAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
clearInitializer
public OnnxMl.GraphProto.Builder clearInitializer()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
removeInitializer
public OnnxMl.GraphProto.Builder removeInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilder
public OnnxMl.TensorProto.Builder getInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerOrBuilder
public OnnxMl.TensorProtoOrBuilder getInitializerOrBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getInitializerOrBuilderList
public List<? extends OnnxMl.TensorProtoOrBuilder> getInitializerOrBuilderList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addInitializerBuilder
public OnnxMl.TensorProto.Builder addInitializerBuilder()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializerBuilder
public OnnxMl.TensorProto.Builder addInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilderList
public List<OnnxMl.TensorProto.Builder> getInitializerBuilderList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getSparseInitializerList
public List<OnnxMl.SparseTensorProto> getSparseInitializerList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
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
public OnnxMl.SparseTensorProto getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerin interfaceOnnxMl.GraphProtoOrBuilder
-
setSparseInitializer
public OnnxMl.GraphProto.Builder setSparseInitializer(int index, OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
setSparseInitializer
public OnnxMl.GraphProto.Builder setSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public OnnxMl.GraphProto.Builder addSparseInitializer(OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public OnnxMl.GraphProto.Builder addSparseInitializer(int index, OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public OnnxMl.GraphProto.Builder addSparseInitializer(OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public OnnxMl.GraphProto.Builder addSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addAllSparseInitializer
public OnnxMl.GraphProto.Builder addAllSparseInitializer(Iterable<? extends OnnxMl.SparseTensorProto> values)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
clearSparseInitializer
public OnnxMl.GraphProto.Builder clearSparseInitializer()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
removeSparseInitializer
public OnnxMl.GraphProto.Builder removeSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilder
public OnnxMl.SparseTensorProto.Builder getSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerOrBuilder
public OnnxMl.SparseTensorProtoOrBuilder getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
public List<? extends OnnxMl.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addSparseInitializerBuilder
public OnnxMl.SparseTensorProto.Builder addSparseInitializerBuilder()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializerBuilder
public OnnxMl.SparseTensorProto.Builder addSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilderList
public List<OnnxMl.SparseTensorProto.Builder> getSparseInitializerBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getDocString
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Specified by:
getDocStringin interfaceOnnxMl.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 interfaceOnnxMl.GraphProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public OnnxMl.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 OnnxMl.GraphProto.Builder clearDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxMl.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<OnnxMl.ValueInfoProto> 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
public OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputin interfaceOnnxMl.GraphProtoOrBuilder
-
setInput
public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
setInput
public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public OnnxMl.GraphProto.Builder addInput(OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public OnnxMl.GraphProto.Builder addInput(OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addAllInput
public OnnxMl.GraphProto.Builder addAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
clearInput
public OnnxMl.GraphProto.Builder clearInput()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
removeInput
public OnnxMl.GraphProto.Builder removeInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilder
public OnnxMl.ValueInfoProto.Builder getInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputOrBuilder
public OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getInputOrBuilderList
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addInputBuilder
public OnnxMl.ValueInfoProto.Builder addInputBuilder()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInputBuilder
public OnnxMl.ValueInfoProto.Builder addInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilderList
public List<OnnxMl.ValueInfoProto.Builder> getInputBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getOutputList
public List<OnnxMl.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputListin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputCountin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutput
public OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputin interfaceOnnxMl.GraphProtoOrBuilder
-
setOutput
public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
setOutput
public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public OnnxMl.GraphProto.Builder addOutput(OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public OnnxMl.GraphProto.Builder addOutput(OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addAllOutput
public OnnxMl.GraphProto.Builder addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
-
clearOutput
public OnnxMl.GraphProto.Builder clearOutput()
repeated .onnx.ValueInfoProto output = 12;
-
removeOutput
public OnnxMl.GraphProto.Builder removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilder
public OnnxMl.ValueInfoProto.Builder getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilder
public OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputOrBuilderList
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addOutputBuilder
public OnnxMl.ValueInfoProto.Builder addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
-
addOutputBuilder
public OnnxMl.ValueInfoProto.Builder addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilderList
public List<OnnxMl.ValueInfoProto.Builder> getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
-
getValueInfoList
public List<OnnxMl.ValueInfoProto> getValueInfoList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
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
public OnnxMl.ValueInfoProto getValueInfo(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoin interfaceOnnxMl.GraphProtoOrBuilder
-
setValueInfo
public OnnxMl.GraphProto.Builder setValueInfo(int index, OnnxMl.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
setValueInfo
public OnnxMl.GraphProto.Builder setValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public OnnxMl.GraphProto.Builder addValueInfo(OnnxMl.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public OnnxMl.GraphProto.Builder addValueInfo(int index, OnnxMl.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public OnnxMl.GraphProto.Builder addValueInfo(OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public OnnxMl.GraphProto.Builder addValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addAllValueInfo
public OnnxMl.GraphProto.Builder addAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
clearValueInfo
public OnnxMl.GraphProto.Builder clearValueInfo()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
removeValueInfo
public OnnxMl.GraphProto.Builder removeValueInfo(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoBuilder
public OnnxMl.ValueInfoProto.Builder getValueInfoBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoOrBuilder
public OnnxMl.ValueInfoProtoOrBuilder getValueInfoOrBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getValueInfoOrBuilderList
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getValueInfoOrBuilderList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addValueInfoBuilder
public OnnxMl.ValueInfoProto.Builder addValueInfoBuilder()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfoBuilder
public OnnxMl.ValueInfoProto.Builder addValueInfoBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoBuilderList
public List<OnnxMl.ValueInfoProto.Builder> getValueInfoBuilderList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getQuantizationAnnotationList
public List<OnnxMl.TensorAnnotation> getQuantizationAnnotationList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
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
public OnnxMl.TensorAnnotation getQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
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
public OnnxMl.GraphProto.Builder addQuantizationAnnotation(OnnxMl.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public OnnxMl.GraphProto.Builder addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public OnnxMl.GraphProto.Builder addQuantizationAnnotation(OnnxMl.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public OnnxMl.GraphProto.Builder addQuantizationAnnotation(int index, OnnxMl.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addAllQuantizationAnnotation
public OnnxMl.GraphProto.Builder addAllQuantizationAnnotation(Iterable<? extends OnnxMl.TensorAnnotation> values)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
clearQuantizationAnnotation
public OnnxMl.GraphProto.Builder clearQuantizationAnnotation()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
removeQuantizationAnnotation
public OnnxMl.GraphProto.Builder removeQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationBuilder
public OnnxMl.TensorAnnotation.Builder getQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationOrBuilder
public OnnxMl.TensorAnnotationOrBuilder getQuantizationAnnotationOrBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationOrBuilderin interfaceOnnxMl.GraphProtoOrBuilder
-
getQuantizationAnnotationOrBuilderList
public List<? extends OnnxMl.TensorAnnotationOrBuilder> getQuantizationAnnotationOrBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationOrBuilderListin interfaceOnnxMl.GraphProtoOrBuilder
-
addQuantizationAnnotationBuilder
public OnnxMl.TensorAnnotation.Builder addQuantizationAnnotationBuilder()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotationBuilder
public OnnxMl.TensorAnnotation.Builder addQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationBuilderList
public List<OnnxMl.TensorAnnotation.Builder> getQuantizationAnnotationBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
setUnknownFields
public final OnnxMl.GraphProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeUnknownFields
public final OnnxMl.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<OnnxMl.GraphProto.Builder>
-
-