public static final class OnnxMl.GraphProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder> implements OnnxMl.GraphProtoOrBuilder
GraphProto defines a parameterized series of nodes to form a directed acyclic graph. This is the equivalent of the "network" and "graph" in many deep learning frameworks.Protobuf type
onnx.GraphProto
Modifier and Type | Method and Description |
---|---|
OnnxMl.GraphProto.Builder |
addAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)
A list of named tensor values (constants), used to specify default
values for some of the 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.
|
OnnxMl.GraphProto.Builder |
addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
addAllValueInfo(Iterable<? extends OnnxMl.ValueInfoProto> values)
Information for the values in the graph.
|
OnnxMl.GraphProto.Builder |
addInitializer(int index,
OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
addInitializer(int index,
OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
addInitializer(OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
addInitializer(OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
addInitializerBuilder()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
addInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
addInput(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
|
OnnxMl.GraphProto.Builder |
addInput(int index,
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.GraphProto.Builder |
addInput(OnnxMl.ValueInfoProto value)
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.Builder builderForValue)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
addNode(int index,
OnnxMl.NodeProto value)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
addNode(OnnxMl.NodeProto value)
The nodes in the graph.
|
OnnxMl.NodeProto.Builder |
addNodeBuilder()
The nodes in the graph.
|
OnnxMl.NodeProto.Builder |
addNodeBuilder(int index)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
addOutput(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
addOutput(int index,
OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
addOutput(OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
addOutput(OnnxMl.ValueInfoProto value)
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 |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.GraphProto.Builder |
addValueInfo(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.
|
OnnxMl.GraphProto.Builder |
addValueInfo(int index,
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.GraphProto.Builder |
addValueInfo(OnnxMl.ValueInfoProto value)
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 (constants), used to specify default
values for some of the 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.
|
OnnxMl.GraphProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.GraphProto.Builder |
clearOutput()
repeated .onnx.ValueInfoProto output = 12; |
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 (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
getInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
List<OnnxMl.TensorProto.Builder> |
getInitializerBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
int |
getInitializerCount()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
List<OnnxMl.TensorProto> |
getInitializerList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProtoOrBuilder |
getInitializerOrBuilder(int index)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
List<? extends OnnxMl.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the 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.
|
OnnxMl.NodeProto.Builder |
getNodeBuilder(int index)
The nodes in the graph.
|
List<OnnxMl.NodeProto.Builder> |
getNodeBuilderList()
The nodes in the graph.
|
int |
getNodeCount()
The nodes in the graph.
|
List<OnnxMl.NodeProto> |
getNodeList()
The nodes in the graph.
|
OnnxMl.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph.
|
List<? extends OnnxMl.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph.
|
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.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(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 |
mergeFrom(OnnxMl.GraphProto other) |
OnnxMl.GraphProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.GraphProto.Builder |
removeInitializer(int index)
A list of named tensor values (constants), used to specify default
values for some of the 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.
|
OnnxMl.GraphProto.Builder |
removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
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.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
setInitializer(int index,
OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
setInput(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
|
OnnxMl.GraphProto.Builder |
setInput(int index,
OnnxMl.ValueInfoProto value)
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.Builder builderForValue)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
setNode(int index,
OnnxMl.NodeProto value)
The nodes in the graph.
|
OnnxMl.GraphProto.Builder |
setOutput(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
setOutput(int index,
OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.GraphProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.GraphProto.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.GraphProto.Builder |
setValueInfo(int index,
OnnxMl.ValueInfoProto.Builder builderForValue)
Information for the values in the graph.
|
OnnxMl.GraphProto.Builder |
setValueInfo(int index,
OnnxMl.ValueInfoProto value)
Information for the values in the graph.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public OnnxMl.GraphProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.GraphProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.GraphProto.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder mergeFrom(OnnxMl.GraphProto other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public OnnxMl.GraphProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.GraphProto.Builder>
IOException
public List<OnnxMl.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeList
in interface OnnxMl.GraphProtoOrBuilder
public int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNode
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto value)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder addNode(OnnxMl.NodeProto value)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto value)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder clearNode()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.GraphProto.Builder removeNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.NodeProto.Builder getNodeBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.NodeProto.Builder addNodeBuilder()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public OnnxMl.NodeProto.Builder addNodeBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public List<OnnxMl.NodeProto.Builder> getNodeBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
public String getName()
The name of the graph.
string name = 2;
getName
in interface OnnxMl.GraphProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;
getNameBytes
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setName(String value)
The name of the graph.
string name = 2;
public OnnxMl.GraphProto.Builder clearName()
The name of the graph.
string name = 2;
public OnnxMl.GraphProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the graph.
string name = 2;
public List<OnnxMl.TensorProto> getInitializerList()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
getInitializerList
in interface OnnxMl.GraphProtoOrBuilder
public int getInitializerCount()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
getInitializerCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.TensorProto getInitializer(int index)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
getInitializer
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder setInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto value)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder addInitializer(OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder addInitializer(int index, OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder addAllInitializer(Iterable<? extends OnnxMl.TensorProto> values)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder clearInitializer()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.GraphProto.Builder removeInitializer(int index)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.TensorProto.Builder getInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.TensorProtoOrBuilder getInitializerOrBuilder(int index)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
getInitializerOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.TensorProtoOrBuilder> getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
getInitializerOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.TensorProto.Builder addInitializerBuilder()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public OnnxMl.TensorProto.Builder addInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public List<OnnxMl.TensorProto.Builder> getInitializerBuilderList()
A list of named tensor values (constants), used to specify default values for some of the inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list. In an evaluation, the default value specified here is used if and only if user specifies no value for the corresponding input parameter. May be used to pass serialized parameters for networks.
repeated .onnx.TensorProto initializer = 5;
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocString
in interface OnnxMl.GraphProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocStringBytes
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setDocString(String value)
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
public OnnxMl.GraphProto.Builder clearDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
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;
public List<OnnxMl.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputList
in interface OnnxMl.GraphProtoOrBuilder
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInput
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder setInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder addInput(OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto value)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder addInput(OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder addInput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder addAllInput(Iterable<? extends OnnxMl.ValueInfoProto> values)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder clearInput()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.GraphProto.Builder removeInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.ValueInfoProto.Builder getInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto.Builder addInputBuilder()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public OnnxMl.ValueInfoProto.Builder addInputBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public List<OnnxMl.ValueInfoProto.Builder> getInputBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
public List<OnnxMl.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;
getOutputList
in interface OnnxMl.GraphProtoOrBuilder
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
getOutputCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutput
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder setOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder addOutput(OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto value)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder addOutput(OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder addOutput(int index, OnnxMl.ValueInfoProto.Builder builderForValue)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder addAllOutput(Iterable<? extends OnnxMl.ValueInfoProto> values)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder clearOutput()
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.GraphProto.Builder removeOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.ValueInfoProto.Builder getOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto.Builder addOutputBuilder()
repeated .onnx.ValueInfoProto output = 12;
public OnnxMl.ValueInfoProto.Builder addOutputBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
public List<OnnxMl.ValueInfoProto.Builder> getOutputBuilderList()
repeated .onnx.ValueInfoProto output = 12;
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;
getValueInfoList
in interface OnnxMl.GraphProtoOrBuilder
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;
getValueInfoCount
in interface OnnxMl.GraphProtoOrBuilder
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;
getValueInfo
in interface OnnxMl.GraphProtoOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getValueInfoOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
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;
getValueInfoOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
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;
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;
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;
public final OnnxMl.GraphProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
public final OnnxMl.GraphProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.GraphProto.Builder>
Copyright © 2019. All rights reserved.