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.Builder
addAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
addAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
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.OnnxMl.GraphProto.Builder
addAllSparseInitializer(Iterable<? extends OnnxMl.SparseTensorProto> values)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
addAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values)
Information for the values in the graph.OnnxMl.GraphProto.Builder
addInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
addInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
addInitializer(OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
addInitializer(OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.Builder
addInitializerBuilder()
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.Builder
addInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
addInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
addInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
addInput(OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
addInput(OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.OnnxMl.ValueInfoProto.Builder
addInputBuilder()
The inputs and outputs of the graph.OnnxMl.ValueInfoProto.Builder
addInputBuilder(int index)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
addNode(int index, OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
addNode(OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.OnnxMl.NodeProto.Builder
addNodeBuilder()
The nodes in the graph, sorted topologically.OnnxMl.NodeProto.Builder
addNodeBuilder(int index)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
addOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
addOutput(OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
addOutput(OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.ValueInfoProto.Builder
addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.ValueInfoProto.Builder
addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
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.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.OnnxMl.GraphProto.Builder
addQuantizationAnnotation(OnnxMl.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.Builder
addQuantizationAnnotation(OnnxMl.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.Builder
addQuantizationAnnotationBuilder()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.Builder
addQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.GraphProto.Builder
addSparseInitializer(int index, OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
addSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
addSparseInitializer(OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
addSparseInitializer(OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.Builder
addSparseInitializerBuilder()
Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.Builder
addSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
addValueInfo(int index, OnnxMl.ValueInfoProto value)
Information for the values in the graph.OnnxMl.GraphProto.Builder
addValueInfo(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.OnnxMl.GraphProto.Builder
addValueInfo(OnnxMl.ValueInfoProto value)
Information for the values in the graph.OnnxMl.GraphProto.Builder
addValueInfo(OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.OnnxMl.ValueInfoProto.Builder
addValueInfoBuilder()
Information for the values in the graph.OnnxMl.ValueInfoProto.Builder
addValueInfoBuilder(int index)
Information for the values in the graph.OnnxMl.GraphProto
build()
OnnxMl.GraphProto
buildPartial()
OnnxMl.GraphProto.Builder
clear()
OnnxMl.GraphProto.Builder
clearDocString()
A human-readable documentation for this graph.OnnxMl.GraphProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OnnxMl.GraphProto.Builder
clearInitializer()
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
clearInput()
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
clearName()
The name of the graph.OnnxMl.GraphProto.Builder
clearNode()
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OnnxMl.GraphProto.Builder
clearOutput()
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
clearQuantizationAnnotation()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.Builder
clearSparseInitializer()
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
clearValueInfo()
Information for the values in the graph.OnnxMl.GraphProto.Builder
clone()
OnnxMl.GraphProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this graph.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this graph.OnnxMl.TensorProto
getInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.TensorProto.Builder
getInitializerBuilder(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.int
getInitializerCount()
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.TensorProtoOrBuilder
getInitializerOrBuilder(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.ValueInfoProto
getInput(int index)
The inputs and outputs of the graph.OnnxMl.ValueInfoProto.Builder
getInputBuilder(int index)
The inputs and outputs of the graph.List<OnnxMl.ValueInfoProto.Builder>
getInputBuilderList()
The inputs and outputs of the graph.int
getInputCount()
The inputs and outputs of the graph.List<OnnxMl.ValueInfoProto>
getInputList()
The inputs and outputs of the graph.OnnxMl.ValueInfoProtoOrBuilder
getInputOrBuilder(int index)
The inputs and outputs of the graph.List<? extends OnnxMl.ValueInfoProtoOrBuilder>
getInputOrBuilderList()
The inputs and outputs of the graph.String
getName()
The name of the graph.org.nd4j.shade.protobuf.ByteString
getNameBytes()
The name of the graph.OnnxMl.NodeProto
getNode(int index)
The nodes in the graph, sorted topologically.OnnxMl.NodeProto.Builder
getNodeBuilder(int index)
The nodes in the graph, sorted topologically.List<OnnxMl.NodeProto.Builder>
getNodeBuilderList()
The nodes in the graph, sorted topologically.int
getNodeCount()
The nodes in the graph, sorted topologically.List<OnnxMl.NodeProto>
getNodeList()
The nodes in the graph, sorted topologically.OnnxMl.NodeProtoOrBuilder
getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.List<? extends OnnxMl.NodeProtoOrBuilder>
getNodeOrBuilderList()
The nodes in the graph, sorted topologically.OnnxMl.ValueInfoProto
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.ValueInfoProto.Builder
getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
List<OnnxMl.ValueInfoProto.Builder>
getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
int
getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
List<OnnxMl.ValueInfoProto>
getOutputList()
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.ValueInfoProtoOrBuilder
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
List<? extends OnnxMl.ValueInfoProtoOrBuilder>
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.TensorAnnotation
getQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.TensorAnnotation.Builder
getQuantizationAnnotationBuilder(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.int
getQuantizationAnnotationCount()
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.TensorAnnotationOrBuilder
getQuantizationAnnotationOrBuilder(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.SparseTensorProto
getSparseInitializer(int index)
Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProto.Builder
getSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.List<OnnxMl.SparseTensorProto.Builder>
getSparseInitializerBuilderList()
Initializers (see above) stored in sparse format.int
getSparseInitializerCount()
Initializers (see above) stored in sparse format.List<OnnxMl.SparseTensorProto>
getSparseInitializerList()
Initializers (see above) stored in sparse format.OnnxMl.SparseTensorProtoOrBuilder
getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.List<? extends OnnxMl.SparseTensorProtoOrBuilder>
getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.OnnxMl.ValueInfoProto
getValueInfo(int index)
Information for the values in the graph.OnnxMl.ValueInfoProto.Builder
getValueInfoBuilder(int index)
Information for the values in the graph.List<OnnxMl.ValueInfoProto.Builder>
getValueInfoBuilderList()
Information for the values in the graph.int
getValueInfoCount()
Information for the values in the graph.List<OnnxMl.ValueInfoProto>
getValueInfoList()
Information for the values in the graph.OnnxMl.ValueInfoProtoOrBuilder
getValueInfoOrBuilder(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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OnnxMl.GraphProto.Builder
mergeFrom(OnnxMl.GraphProto other)
OnnxMl.GraphProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OnnxMl.GraphProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OnnxMl.GraphProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.GraphProto.Builder
removeInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
removeInput(int index)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
removeNode(int index)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
removeQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.OnnxMl.GraphProto.Builder
removeSparseInitializer(int index)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
removeValueInfo(int index)
Information for the values in the graph.OnnxMl.GraphProto.Builder
setDocString(String value)
A human-readable documentation for this graph.OnnxMl.GraphProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this graph.OnnxMl.GraphProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.GraphProto.Builder
setInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
setInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder
setInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
setInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.OnnxMl.GraphProto.Builder
setName(String value)
The name of the graph.OnnxMl.GraphProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the graph.OnnxMl.GraphProto.Builder
setNode(int index, OnnxMl.NodeProto value)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.OnnxMl.GraphProto.Builder
setOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
OnnxMl.GraphProto.Builder
setOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
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.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.OnnxMl.GraphProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OnnxMl.GraphProto.Builder
setSparseInitializer(int index, OnnxMl.SparseTensorProto value)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
setSparseInitializer(int index, OnnxMl.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.OnnxMl.GraphProto.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.GraphProto.Builder
setValueInfo(int index, OnnxMl.ValueInfoProto value)
Information for the values in the graph.OnnxMl.GraphProto.Builder
setValueInfo(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clear
public OnnxMl.GraphProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.GraphProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.GraphProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.GraphProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.GraphProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clearField
public OnnxMl.GraphProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
clearOneof
public OnnxMl.GraphProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeFrom
public OnnxMl.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getNodeList
in interfaceOnnxMl.GraphProtoOrBuilder
-
getNodeCount
public int getNodeCount()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeCount
in interfaceOnnxMl.GraphProtoOrBuilder
-
getNode
public OnnxMl.NodeProto getNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNode
in 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:
getNodeOrBuilder
in interfaceOnnxMl.GraphProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeOrBuilderList
in 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:
getName
in interfaceOnnxMl.GraphProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;
- Specified by:
getNameBytes
in 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:
getInitializerList
in 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:
getInitializerCount
in 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:
getInitializer
in 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:
getInitializerOrBuilder
in 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:
getInitializerOrBuilderList
in 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:
getSparseInitializerList
in interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializerCount
public int getSparseInitializerCount()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerCount
in interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializer
public OnnxMl.SparseTensorProto getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializer
in 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:
getSparseInitializerOrBuilder
in interfaceOnnxMl.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
public List<? extends OnnxMl.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerOrBuilderList
in 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:
getDocString
in 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:
getDocStringBytes
in 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:
getInputList
in interfaceOnnxMl.GraphProtoOrBuilder
-
getInputCount
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputCount
in interfaceOnnxMl.GraphProtoOrBuilder
-
getInput
public OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInput
in 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:
getInputOrBuilder
in interfaceOnnxMl.GraphProtoOrBuilder
-
getInputOrBuilderList
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputOrBuilderList
in 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:
getOutputList
in interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputCount
in interfaceOnnxMl.GraphProtoOrBuilder
-
getOutput
public OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutput
in 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:
getOutputOrBuilder
in interfaceOnnxMl.GraphProtoOrBuilder
-
getOutputOrBuilderList
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputOrBuilderList
in 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:
getValueInfoList
in 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:
getValueInfoCount
in 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:
getValueInfo
in 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:
getValueInfoOrBuilder
in 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:
getValueInfoOrBuilderList
in 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:
getQuantizationAnnotationList
in 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:
getQuantizationAnnotationCount
in 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:
getQuantizationAnnotation
in 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:
getQuantizationAnnotationOrBuilder
in 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:
getQuantizationAnnotationOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
mergeUnknownFields
public final OnnxMl.GraphProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
-
-