Package onnx
Class Onnx.GraphProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
onnx.Onnx.GraphProto.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Onnx.GraphProtoOrBuilder
- Enclosing class:
- Onnx.GraphProto
public static final class Onnx.GraphProto.Builder
extends com.google.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 type
onnx.GraphProto
-
Method Summary
Modifier and TypeMethodDescriptionaddAllInitializer
(Iterable<? extends Onnx.TensorProto> values) A list of named tensor values, used to specify constant inputs of the graph.addAllInput
(Iterable<? extends Onnx.ValueInfoProto> values) The inputs and outputs of the graph.addAllNode
(Iterable<? extends Onnx.NodeProto> values) The nodes in the graph, sorted topologically.addAllOutput
(Iterable<? extends Onnx.ValueInfoProto> values) repeated .onnx.ValueInfoProto output = 12;
addAllValueInfo
(Iterable<? extends Onnx.ValueInfoProto> values) Information for the values in the graph.addInitializer
(int index, Onnx.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.addInitializer
(int index, Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.addInitializer
(Onnx.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.addInitializer
(Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.addInitializerBuilder
(int index) A list of named tensor values, used to specify constant inputs of the graph.addInput
(int index, Onnx.ValueInfoProto value) The inputs and outputs of the graph.addInput
(int index, Onnx.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.addInput
(Onnx.ValueInfoProto value) The inputs and outputs of the graph.addInput
(Onnx.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.The inputs and outputs of the graph.addInputBuilder
(int index) The inputs and outputs of the graph.addNode
(int index, Onnx.NodeProto value) The nodes in the graph, sorted topologically.addNode
(int index, Onnx.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.addNode
(Onnx.NodeProto value) The nodes in the graph, sorted topologically.addNode
(Onnx.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.addNodeBuilder
(int index) The nodes in the graph, sorted topologically.addOutput
(int index, Onnx.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;
addOutput
(int index, Onnx.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;
addOutput
(Onnx.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;
addOutput
(Onnx.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;
repeated .onnx.ValueInfoProto output = 12;
addOutputBuilder
(int index) repeated .onnx.ValueInfoProto output = 12;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addValueInfo
(int index, Onnx.ValueInfoProto value) Information for the values in the graph.addValueInfo
(int index, Onnx.ValueInfoProto.Builder builderForValue) Information for the values in the graph.addValueInfo
(Onnx.ValueInfoProto value) Information for the values in the graph.addValueInfo
(Onnx.ValueInfoProto.Builder builderForValue) Information for the values in the graph.Information for the values in the graph.addValueInfoBuilder
(int index) Information for the values in the graph.build()
clear()
A human-readable documentation for this graph.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) A list of named tensor values, used to specify constant inputs of the graph.The inputs and outputs of the graph.The name of the graph.The nodes in the graph, sorted topologically.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .onnx.ValueInfoProto output = 12;
Information for the values in the graph.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
A human-readable documentation for this graph.com.google.protobuf.ByteString
A human-readable documentation for this graph.getInitializer
(int index) A list of named tensor values, used to specify constant inputs of the graph.getInitializerBuilder
(int index) A list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.int
A list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.getInitializerOrBuilder
(int index) A list of named tensor values, used to specify constant inputs of the graph.List<? extends Onnx.TensorProtoOrBuilder>
A list of named tensor values, used to specify constant inputs of the graph.getInput
(int index) The inputs and outputs of the graph.getInputBuilder
(int index) The inputs and outputs of the graph.The inputs and outputs of the graph.int
The inputs and outputs of the graph.The inputs and outputs of the graph.getInputOrBuilder
(int index) The inputs and outputs of the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>
The inputs and outputs of the graph.getName()
The name of the graph.com.google.protobuf.ByteString
The name of the graph.getNode
(int index) The nodes in the graph, sorted topologically.getNodeBuilder
(int index) The nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.int
The nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.getNodeOrBuilder
(int index) The nodes in the graph, sorted topologically.List<? extends Onnx.NodeProtoOrBuilder>
The nodes in the graph, sorted topologically.getOutput
(int index) repeated .onnx.ValueInfoProto output = 12;
getOutputBuilder
(int index) repeated .onnx.ValueInfoProto output = 12;
repeated .onnx.ValueInfoProto output = 12;
int
repeated .onnx.ValueInfoProto output = 12;
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilder
(int index) repeated .onnx.ValueInfoProto output = 12;
List<? extends Onnx.ValueInfoProtoOrBuilder>
repeated .onnx.ValueInfoProto output = 12;
getValueInfo
(int index) Information for the values in the graph.getValueInfoBuilder
(int index) Information for the values in the graph.Information for the values in the graph.int
Information for the values in the graph.Information for the values in the graph.getValueInfoOrBuilder
(int index) Information for the values in the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>
Information for the values in the graph.boolean
A human-readable documentation for this graph.boolean
hasName()
The name of the graph.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Onnx.GraphProto other) final Onnx.GraphProto.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeInitializer
(int index) A list of named tensor values, used to specify constant inputs of the graph.removeInput
(int index) The inputs and outputs of the graph.removeNode
(int index) The nodes in the graph, sorted topologically.removeOutput
(int index) repeated .onnx.ValueInfoProto output = 12;
removeValueInfo
(int index) Information for the values in the graph.setDocString
(String value) A human-readable documentation for this graph.setDocStringBytes
(com.google.protobuf.ByteString value) A human-readable documentation for this graph.setInitializer
(int index, Onnx.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.setInitializer
(int index, Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.setInput
(int index, Onnx.ValueInfoProto value) The inputs and outputs of the graph.setInput
(int index, Onnx.ValueInfoProto.Builder builderForValue) The inputs and outputs of the graph.The name of the graph.setNameBytes
(com.google.protobuf.ByteString value) The name of the graph.setNode
(int index, Onnx.NodeProto value) The nodes in the graph, sorted topologically.setNode
(int index, Onnx.NodeProto.Builder builderForValue) The nodes in the graph, sorted topologically.setOutput
(int index, Onnx.ValueInfoProto value) repeated .onnx.ValueInfoProto output = 12;
setOutput
(int index, Onnx.ValueInfoProto.Builder builderForValue) repeated .onnx.ValueInfoProto output = 12;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Onnx.GraphProto.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setValueInfo
(int index, Onnx.ValueInfoProto value) Information for the values in the graph.setValueInfo
(int index, Onnx.ValueInfoProto.Builder builderForValue) Information for the values in the graph.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
setField
public Onnx.GraphProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
setRepeatedField
public Onnx.GraphProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
addRepeatedField
public Onnx.GraphProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeFrom
public Onnx.GraphProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Onnx.GraphProto.Builder>
- Throws:
IOException
-
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
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNode
in interfaceOnnx.GraphProtoOrBuilder
-
setNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
setNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addAllNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
clearNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
removeNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeOrBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
- Specified by:
getNodeOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
addNodeBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeBuilderList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
hasName
public boolean hasName()The name of the graph.
optional string name = 2;
- Specified by:
hasName
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
The name of the graph.
optional string name = 2;
- Specified by:
getName
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the graph.
optional string name = 2;
- Specified by:
getNameBytes
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the graph.
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the graph.
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
The name of the graph.
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInitializerList
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears 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 TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerCount
in interfaceOnnx.GraphProtoOrBuilder
-
getInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializer
in interfaceOnnx.GraphProtoOrBuilder
-
setInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
setInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addAllInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
clearInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
removeInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilder
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerOrBuilder
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getInitializerOrBuilderList
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
- Specified by:
getInitializerOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addInitializerBuilder
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
addInitializerBuilder
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
getInitializerBuilderList
A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.
repeated .onnx.TensorProto initializer = 5;
-
hasDocString
public boolean hasDocString()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Specified by:
hasDocString
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Specified by:
getDocString
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Specified by:
getDocStringBytes
in interfaceOnnx.GraphProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Parameters:
value
- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Returns:
- This builder for chaining.
-
setDocStringBytes
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Parameters:
value
- The bytes for docString to set.- Returns:
- This builder for chaining.
-
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
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInput
in interfaceOnnx.GraphProtoOrBuilder
-
setInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
setInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addAllInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
clearInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
removeInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputOrBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getInputOrBuilderList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
- Specified by:
getInputOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
addInputBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputBuilderList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
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
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutput
in interfaceOnnx.GraphProtoOrBuilder
-
setOutput
repeated .onnx.ValueInfoProto output = 12;
-
setOutput
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
repeated .onnx.ValueInfoProto output = 12;
-
addOutput
repeated .onnx.ValueInfoProto output = 12;
-
addAllOutput
repeated .onnx.ValueInfoProto output = 12;
-
clearOutput
repeated .onnx.ValueInfoProto output = 12;
-
removeOutput
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilder
repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilder
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputOrBuilder
in interfaceOnnx.GraphProtoOrBuilder
-
getOutputOrBuilderList
repeated .onnx.ValueInfoProto output = 12;
- Specified by:
getOutputOrBuilderList
in interfaceOnnx.GraphProtoOrBuilder
-
addOutputBuilder
repeated .onnx.ValueInfoProto output = 12;
-
addOutputBuilder
repeated .onnx.ValueInfoProto output = 12;
-
getOutputBuilderList
repeated .onnx.ValueInfoProto output = 12;
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
-
setUnknownFields
public final Onnx.GraphProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-
mergeUnknownFields
public final Onnx.GraphProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.GraphProto.Builder>
-