Package onnx
Interface Onnx.GraphProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.GraphProto
,Onnx.GraphProto.Builder
- Enclosing class:
- Onnx
public static interface Onnx.GraphProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA 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.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.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.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;
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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNodeList
List<Onnx.NodeProto> getNodeList()The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeCount
int getNodeCount()The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;
-
getNodeOrBuilderList
List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()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;
-
hasName
boolean hasName()The name of the graph.
optional string name = 2;
- Returns:
- Whether the name field is set.
-
getName
String getName()The name of the graph.
optional string name = 2;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the graph.
optional string name = 2;
- Returns:
- The bytes for name.
-
getInitializerList
List<Onnx.TensorProto> 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;
-
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;
-
getInitializerCount
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;
-
getInitializerOrBuilderList
List<? extends Onnx.TensorProtoOrBuilder> 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;
-
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;
-
hasDocString
boolean hasDocString()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Returns:
- Whether the docString field is set.
-
getDocString
String getDocString()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Returns:
- The docString.
-
getDocStringBytes
com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;
- Returns:
- The bytes for docString.
-
getInputList
List<Onnx.ValueInfoProto> getInputList()The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputCount
int getInputCount()The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
-
getInputOrBuilderList
List<? extends Onnx.ValueInfoProtoOrBuilder> getInputOrBuilderList()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;
-
getOutputList
List<Onnx.ValueInfoProto> getOutputList()repeated .onnx.ValueInfoProto output = 12;
-
getOutput
repeated .onnx.ValueInfoProto output = 12;
-
getOutputCount
int getOutputCount()repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilderList
List<? extends Onnx.ValueInfoProtoOrBuilder> getOutputOrBuilderList()repeated .onnx.ValueInfoProto output = 12;
-
getOutputOrBuilder
repeated .onnx.ValueInfoProto output = 12;
-
getValueInfoList
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;
-
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;
-
getValueInfoCount
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;
-
getValueInfoOrBuilderList
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;
-
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;
-