Package onnx
Class Onnx.GraphProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
- onnx.Onnx.GraphProto.Builder
-
- All Implemented Interfaces:
Cloneable
,Onnx.GraphProtoOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- Onnx.GraphProto
public static final class Onnx.GraphProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder> implements Onnx.GraphProtoOrBuilder
Graphs A graph defines the computational logic of a model and is comprised of a parameterized list of nodes that form a directed acyclic graph based on their inputs and outputs. This is the equivalent of the "network" or "graph" in many deep learning frameworks.
Protobuf typeonnx.GraphProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.GraphProto.Builder
addAllInitializer(Iterable<? extends Onnx.TensorProto> values)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
addAllInput(Iterable<? extends Onnx.ValueInfoProto> values)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
addAllNode(Iterable<? extends Onnx.NodeProto> values)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
addAllOutput(Iterable<? extends Onnx.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
addAllQuantizationAnnotation(Iterable<? extends Onnx.TensorAnnotation> values)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
addAllSparseInitializer(Iterable<? extends Onnx.SparseTensorProto> values)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
addAllValueInfo(Iterable<? extends Onnx.ValueInfoProto> values)
Information for the values in the graph.Onnx.GraphProto.Builder
addInitializer(int index, Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
addInitializer(int index, Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
addInitializer(Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
addInitializer(Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.Builder
addInitializerBuilder()
A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.Builder
addInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
addInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
addInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
addInput(Onnx.ValueInfoProto value)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
addInput(Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.Onnx.ValueInfoProto.Builder
addInputBuilder()
The inputs and outputs of the graph.Onnx.ValueInfoProto.Builder
addInputBuilder(int index)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
addNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
addNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
addNode(Onnx.NodeProto value)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
addNode(Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.Onnx.NodeProto.Builder
addNodeBuilder()
The nodes in the graph, sorted topologically.Onnx.NodeProto.Builder
addNodeBuilder(int index)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
addOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
addOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
addOutput(Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
addOutput(Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
Onnx.ValueInfoProto.Builder
addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
Onnx.ValueInfoProto.Builder
addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
addQuantizationAnnotation(int index, Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
addQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
addQuantizationAnnotation(Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
addQuantizationAnnotation(Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.Builder
addQuantizationAnnotationBuilder()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.Builder
addQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.GraphProto.Builder
addSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
addSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
addSparseInitializer(Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
addSparseInitializer(Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.Builder
addSparseInitializerBuilder()
Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.Builder
addSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
addValueInfo(int index, Onnx.ValueInfoProto value)
Information for the values in the graph.Onnx.GraphProto.Builder
addValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.Onnx.GraphProto.Builder
addValueInfo(Onnx.ValueInfoProto value)
Information for the values in the graph.Onnx.GraphProto.Builder
addValueInfo(Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.Onnx.ValueInfoProto.Builder
addValueInfoBuilder()
Information for the values in the graph.Onnx.ValueInfoProto.Builder
addValueInfoBuilder(int index)
Information for the values in the graph.Onnx.GraphProto
build()
Onnx.GraphProto
buildPartial()
Onnx.GraphProto.Builder
clear()
Onnx.GraphProto.Builder
clearDocString()
A human-readable documentation for this graph.Onnx.GraphProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.GraphProto.Builder
clearInitializer()
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
clearInput()
The inputs and outputs of the graph.Onnx.GraphProto.Builder
clearName()
The name of the graph.Onnx.GraphProto.Builder
clearNode()
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.GraphProto.Builder
clearOutput()
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
clearQuantizationAnnotation()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
clearSparseInitializer()
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
clearValueInfo()
Information for the values in the graph.Onnx.GraphProto.Builder
clone()
Onnx.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.Onnx.TensorProto
getInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.Builder
getInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph.List<Onnx.TensorProto.Builder>
getInitializerBuilderList()
A list of named tensor values, used to specify constant inputs of the graph.int
getInitializerCount()
A list of named tensor values, used to specify constant inputs of the graph.List<Onnx.TensorProto>
getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProtoOrBuilder
getInitializerOrBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph.List<? extends Onnx.TensorProtoOrBuilder>
getInitializerOrBuilderList()
A list of named tensor values, used to specify constant inputs of the graph.Onnx.ValueInfoProto
getInput(int index)
The inputs and outputs of the graph.Onnx.ValueInfoProto.Builder
getInputBuilder(int index)
The inputs and outputs of the graph.List<Onnx.ValueInfoProto.Builder>
getInputBuilderList()
The inputs and outputs of the graph.int
getInputCount()
The inputs and outputs of the graph.List<Onnx.ValueInfoProto>
getInputList()
The inputs and outputs of the graph.Onnx.ValueInfoProtoOrBuilder
getInputOrBuilder(int index)
The inputs and outputs of the graph.List<? extends Onnx.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.Onnx.NodeProto
getNode(int index)
The nodes in the graph, sorted topologically.Onnx.NodeProto.Builder
getNodeBuilder(int index)
The nodes in the graph, sorted topologically.List<Onnx.NodeProto.Builder>
getNodeBuilderList()
The nodes in the graph, sorted topologically.int
getNodeCount()
The nodes in the graph, sorted topologically.List<Onnx.NodeProto>
getNodeList()
The nodes in the graph, sorted topologically.Onnx.NodeProtoOrBuilder
getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.List<? extends Onnx.NodeProtoOrBuilder>
getNodeOrBuilderList()
The nodes in the graph, sorted topologically.Onnx.ValueInfoProto
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
Onnx.ValueInfoProto.Builder
getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
List<Onnx.ValueInfoProto.Builder>
getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
int
getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
List<Onnx.ValueInfoProto>
getOutputList()
repeated .onnx.ValueInfoProto output = 12;
Onnx.ValueInfoProtoOrBuilder
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
List<? extends Onnx.ValueInfoProtoOrBuilder>
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
Onnx.TensorAnnotation
getQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotation.Builder
getQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<Onnx.TensorAnnotation.Builder>
getQuantizationAnnotationBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.int
getQuantizationAnnotationCount()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<Onnx.TensorAnnotation>
getQuantizationAnnotationList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.TensorAnnotationOrBuilder
getQuantizationAnnotationOrBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<? extends Onnx.TensorAnnotationOrBuilder>
getQuantizationAnnotationOrBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.SparseTensorProto
getSparseInitializer(int index)
Initializers (see above) stored in sparse format.Onnx.SparseTensorProto.Builder
getSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.List<Onnx.SparseTensorProto.Builder>
getSparseInitializerBuilderList()
Initializers (see above) stored in sparse format.int
getSparseInitializerCount()
Initializers (see above) stored in sparse format.List<Onnx.SparseTensorProto>
getSparseInitializerList()
Initializers (see above) stored in sparse format.Onnx.SparseTensorProtoOrBuilder
getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.List<? extends Onnx.SparseTensorProtoOrBuilder>
getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.Onnx.ValueInfoProto
getValueInfo(int index)
Information for the values in the graph.Onnx.ValueInfoProto.Builder
getValueInfoBuilder(int index)
Information for the values in the graph.List<Onnx.ValueInfoProto.Builder>
getValueInfoBuilderList()
Information for the values in the graph.int
getValueInfoCount()
Information for the values in the graph.List<Onnx.ValueInfoProto>
getValueInfoList()
Information for the values in the graph.Onnx.ValueInfoProtoOrBuilder
getValueInfoOrBuilder(int index)
Information for the values in the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>
getValueInfoOrBuilderList()
Information for the values in the graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.GraphProto.Builder
mergeFrom(Onnx.GraphProto other)
Onnx.GraphProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.GraphProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.GraphProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.GraphProto.Builder
removeInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
removeInput(int index)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
removeNode(int index)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
removeQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
removeSparseInitializer(int index)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
removeValueInfo(int index)
Information for the values in the graph.Onnx.GraphProto.Builder
setDocString(String value)
A human-readable documentation for this graph.Onnx.GraphProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this graph.Onnx.GraphProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.GraphProto.Builder
setInitializer(int index, Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
setInitializer(int index, Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder
setInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
setInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.Onnx.GraphProto.Builder
setName(String value)
The name of the graph.Onnx.GraphProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the graph.Onnx.GraphProto.Builder
setNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
setNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.Onnx.GraphProto.Builder
setOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
setOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
Onnx.GraphProto.Builder
setQuantizationAnnotation(int index, Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
setQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.Onnx.GraphProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.GraphProto.Builder
setSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
setSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.Onnx.GraphProto.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.GraphProto.Builder
setValueInfo(int index, Onnx.ValueInfoProto value)
Information for the values in the graph.Onnx.GraphProto.Builder
setValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clear
public Onnx.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<Onnx.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<Onnx.GraphProto.Builder>
-
getDefaultInstanceForType
public Onnx.GraphProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.GraphProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.GraphProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.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<Onnx.GraphProto.Builder>
-
setField
public Onnx.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<Onnx.GraphProto.Builder>
-
clearField
public Onnx.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<Onnx.GraphProto.Builder>
-
clearOneof
public Onnx.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<Onnx.GraphProto.Builder>
-
setRepeatedField
public Onnx.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<Onnx.GraphProto.Builder>
-
addRepeatedField
public Onnx.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<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.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<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(Onnx.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<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
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<Onnx.GraphProto.Builder>
- Throws:
IOException
-
getNodeList
public List<Onnx.NodeProto> getNodeList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeList
in interfaceOnnx.GraphProtoOrBuilder
-
getNodeCount
public int getNodeCount()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeCount
in interfaceOnnx.GraphProtoOrBuilder
-
getNode
public Onnx.NodeProto getNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNode
in interfaceOnnx.GraphProtoOrBuilder
-
setNode
public Onnx.GraphProto.Builder setNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
setNode
public Onnx.GraphProto.Builder setNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(int index, Onnx.NodeProto value)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
public Onnx.GraphProto.Builder addNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addAllNode
public Onnx.GraphProto.Builder addAllNode(Iterable<? extends Onnx.NodeProto> values)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
clearNode
public Onnx.GraphProto.Builder clearNode()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
removeNode
public Onnx.GraphProto.Builder removeNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilder
public Onnx.NodeProto.Builder getNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeOrBuilder
public Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilderList
public List<Onnx.NodeProto.Builder> getNodeBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getName
public String getName()
The name of the graph.
string name = 2;
- Specified by:
getName
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;
- Specified by:
getNameBytes
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public Onnx.GraphProto.Builder setName(String value)
The name of the graph.
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Onnx.GraphProto.Builder clearName()
The name of the graph.
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public Onnx.GraphProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the graph.
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInitializerList
public List<Onnx.TensorProto> getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerList
in interfaceOnnx.GraphProtoOrBuilder
-
getInitializerCount
public int getInitializerCount()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerCount
in interfaceOnnx.GraphProtoOrBuilder
-
getInitializer
public Onnx.TensorProto getInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializer
in interfaceOnnx.GraphProtoOrBuilder
-
setInitializer
public Onnx.GraphProto.Builder setInitializer(int index, Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
setInitializer
public Onnx.GraphProto.Builder setInitializer(int index, Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public Onnx.GraphProto.Builder addInitializer(Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public Onnx.GraphProto.Builder addInitializer(int index, Onnx.TensorProto value)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public Onnx.GraphProto.Builder addInitializer(Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
public Onnx.GraphProto.Builder addInitializer(int index, Onnx.TensorProto.Builder builderForValue)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addAllInitializer
public Onnx.GraphProto.Builder addAllInitializer(Iterable<? extends Onnx.TensorProto> values)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
clearInitializer
public Onnx.GraphProto.Builder clearInitializer()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
removeInitializer
public Onnx.GraphProto.Builder removeInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilder
public Onnx.TensorProto.Builder getInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerOrBuilder
public Onnx.TensorProtoOrBuilder getInitializerOrBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getInitializerOrBuilderList
public List<? extends Onnx.TensorProtoOrBuilder> getInitializerOrBuilderList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addInitializerBuilder
public Onnx.TensorProto.Builder addInitializerBuilder()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializerBuilder
public Onnx.TensorProto.Builder addInitializerBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilderList
public List<Onnx.TensorProto.Builder> getInitializerBuilderList()
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getSparseInitializerList
public List<Onnx.SparseTensorProto> getSparseInitializerList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerList
in interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerCount
public int getSparseInitializerCount()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerCount
in interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializer
public Onnx.SparseTensorProto getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializer
in interfaceOnnx.GraphProtoOrBuilder
-
setSparseInitializer
public Onnx.GraphProto.Builder setSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
setSparseInitializer
public Onnx.GraphProto.Builder setSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(int index, Onnx.SparseTensorProto value)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializer
public Onnx.GraphProto.Builder addSparseInitializer(int index, Onnx.SparseTensorProto.Builder builderForValue)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addAllSparseInitializer
public Onnx.GraphProto.Builder addAllSparseInitializer(Iterable<? extends Onnx.SparseTensorProto> values)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
clearSparseInitializer
public Onnx.GraphProto.Builder clearSparseInitializer()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
removeSparseInitializer
public Onnx.GraphProto.Builder removeSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder getSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerOrBuilder
public Onnx.SparseTensorProtoOrBuilder getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
public List<? extends Onnx.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
- Specified by:
getSparseInitializerOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder addSparseInitializerBuilder()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
addSparseInitializerBuilder
public Onnx.SparseTensorProto.Builder addSparseInitializerBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getSparseInitializerBuilderList
public List<Onnx.SparseTensorProto.Builder> getSparseInitializerBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;
-
getDocString
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
- Specified by:
getDocString
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
- Specified by:
getDocStringBytes
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
public Onnx.GraphProto.Builder setDocString(String value)
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
- Parameters:
value
- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public Onnx.GraphProto.Builder clearDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.GraphProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
- Parameters:
value
- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getInputList
public List<Onnx.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputList
in interfaceOnnx.GraphProtoOrBuilder
-
getInputCount
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputCount
in interfaceOnnx.GraphProtoOrBuilder
-
getInput
public Onnx.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInput
in interfaceOnnx.GraphProtoOrBuilder
-
setInput
public Onnx.GraphProto.Builder setInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
setInput
public Onnx.GraphProto.Builder setInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(int index, Onnx.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
public Onnx.GraphProto.Builder addInput(int index, Onnx.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addAllInput
public Onnx.GraphProto.Builder addAllInput(Iterable<? extends Onnx.ValueInfoProto> values)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
clearInput
public Onnx.GraphProto.Builder clearInput()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
removeInput
public Onnx.GraphProto.Builder removeInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilder
public Onnx.ValueInfoProto.Builder getInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputOrBuilder
public Onnx.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getInputOrBuilderList
public List<? extends Onnx.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addInputBuilder
public Onnx.ValueInfoProto.Builder addInputBuilder()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInputBuilder
public Onnx.ValueInfoProto.Builder addInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilderList
public List<Onnx.ValueInfoProto.Builder> getInputBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getOutputList
public List<Onnx.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputList
in interfaceOnnx.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputCount
in interfaceOnnx.GraphProtoOrBuilder
-
getOutput
public Onnx.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutput
in interfaceOnnx.GraphProtoOrBuilder
-
setOutput
public Onnx.GraphProto.Builder setOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
setOutput
public Onnx.GraphProto.Builder setOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(int index, Onnx.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
public Onnx.GraphProto.Builder addOutput(int index, Onnx.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
-
addAllOutput
public Onnx.GraphProto.Builder addAllOutput(Iterable<? extends Onnx.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
-
clearOutput
public Onnx.GraphProto.Builder clearOutput()
repeated .onnx.ValueInfoProto output = 12;
-
removeOutput
public Onnx.GraphProto.Builder removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilder
public Onnx.ValueInfoProto.Builder getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilder
public Onnx.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getOutputOrBuilderList
public List<? extends Onnx.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addOutputBuilder
public Onnx.ValueInfoProto.Builder addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
-
addOutputBuilder
public Onnx.ValueInfoProto.Builder addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilderList
public List<Onnx.ValueInfoProto.Builder> getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
-
getValueInfoList
public List<Onnx.ValueInfoProto> getValueInfoList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
- Specified by:
getValueInfoList
in interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoCount
public int getValueInfoCount()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
- Specified by:
getValueInfoCount
in interfaceOnnx.GraphProtoOrBuilder
-
getValueInfo
public Onnx.ValueInfoProto getValueInfo(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
- Specified by:
getValueInfo
in interfaceOnnx.GraphProtoOrBuilder
-
setValueInfo
public Onnx.GraphProto.Builder setValueInfo(int index, Onnx.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
setValueInfo
public Onnx.GraphProto.Builder setValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public Onnx.GraphProto.Builder addValueInfo(Onnx.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public Onnx.GraphProto.Builder addValueInfo(int index, Onnx.ValueInfoProto value)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public Onnx.GraphProto.Builder addValueInfo(Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfo
public Onnx.GraphProto.Builder addValueInfo(int index, Onnx.ValueInfoProto.Builder builderForValue)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addAllValueInfo
public Onnx.GraphProto.Builder addAllValueInfo(Iterable<? extends Onnx.ValueInfoProto> values)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
clearValueInfo
public Onnx.GraphProto.Builder clearValueInfo()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
removeValueInfo
public Onnx.GraphProto.Builder removeValueInfo(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoBuilder
public Onnx.ValueInfoProto.Builder getValueInfoBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoOrBuilder
public Onnx.ValueInfoProtoOrBuilder getValueInfoOrBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
- Specified by:
getValueInfoOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoOrBuilderList
public List<? extends Onnx.ValueInfoProtoOrBuilder> getValueInfoOrBuilderList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
- Specified by:
getValueInfoOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addValueInfoBuilder
public Onnx.ValueInfoProto.Builder addValueInfoBuilder()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
addValueInfoBuilder
public Onnx.ValueInfoProto.Builder addValueInfoBuilder(int index)
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getValueInfoBuilderList
public List<Onnx.ValueInfoProto.Builder> getValueInfoBuilderList()
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;
-
getQuantizationAnnotationList
public List<Onnx.TensorAnnotation> getQuantizationAnnotationList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
- Specified by:
getQuantizationAnnotationList
in interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationCount
public int getQuantizationAnnotationCount()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
- Specified by:
getQuantizationAnnotationCount
in interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotation
public Onnx.TensorAnnotation getQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
- Specified by:
getQuantizationAnnotation
in interfaceOnnx.GraphProtoOrBuilder
-
setQuantizationAnnotation
public Onnx.GraphProto.Builder setQuantizationAnnotation(int index, Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
setQuantizationAnnotation
public Onnx.GraphProto.Builder setQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public Onnx.GraphProto.Builder addQuantizationAnnotation(Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public Onnx.GraphProto.Builder addQuantizationAnnotation(int index, Onnx.TensorAnnotation value)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public Onnx.GraphProto.Builder addQuantizationAnnotation(Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotation
public Onnx.GraphProto.Builder addQuantizationAnnotation(int index, Onnx.TensorAnnotation.Builder builderForValue)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addAllQuantizationAnnotation
public Onnx.GraphProto.Builder addAllQuantizationAnnotation(Iterable<? extends Onnx.TensorAnnotation> values)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
clearQuantizationAnnotation
public Onnx.GraphProto.Builder clearQuantizationAnnotation()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
removeQuantizationAnnotation
public Onnx.GraphProto.Builder removeQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationBuilder
public Onnx.TensorAnnotation.Builder getQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationOrBuilder
public Onnx.TensorAnnotationOrBuilder getQuantizationAnnotationOrBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
- Specified by:
getQuantizationAnnotationOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationOrBuilderList
public List<? extends Onnx.TensorAnnotationOrBuilder> getQuantizationAnnotationOrBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
- Specified by:
getQuantizationAnnotationOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addQuantizationAnnotationBuilder
public Onnx.TensorAnnotation.Builder addQuantizationAnnotationBuilder()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
addQuantizationAnnotationBuilder
public Onnx.TensorAnnotation.Builder addQuantizationAnnotationBuilder(int index)
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
getQuantizationAnnotationBuilderList
public List<Onnx.TensorAnnotation.Builder> getQuantizationAnnotationBuilderList()
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.
repeated .onnx.TensorAnnotation quantization_annotation = 14;
-
setUnknownFields
public final Onnx.GraphProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeUnknownFields
public final Onnx.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<Onnx.GraphProto.Builder>
-
-