public static final class OnnxProto3.GraphProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements OnnxProto3.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 | Class and Description |
---|---|
static class |
OnnxProto3.GraphProto.Builder
GraphProto defines a parameterized series of nodes to form a directed acyclic graph.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DOC_STRING_FIELD_NUMBER |
static int |
INITIALIZER_FIELD_NUMBER |
static int |
INPUT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static int |
OUTPUT_FIELD_NUMBER |
static int |
VALUE_INFO_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static OnnxProto3.GraphProto |
getDefaultInstance() |
OnnxProto3.GraphProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this graph.
|
com.github.os72.protobuf351.ByteString |
getDocStringBytes()
A human-readable documentation for this graph.
|
OnnxProto3.TensorProto |
getInitializer(int index)
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<OnnxProto3.TensorProto> |
getInitializerList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxProto3.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 OnnxProto3.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxProto3.ValueInfoProto |
getInput(int index)
The inputs and outputs of the graph.
|
int |
getInputCount()
The inputs and outputs of the graph.
|
List<OnnxProto3.ValueInfoProto> |
getInputList()
The inputs and outputs of the graph.
|
OnnxProto3.ValueInfoProtoOrBuilder |
getInputOrBuilder(int index)
The inputs and outputs of the graph.
|
List<? extends OnnxProto3.ValueInfoProtoOrBuilder> |
getInputOrBuilderList()
The inputs and outputs of the graph.
|
String |
getName()
The name of the graph.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
The name of the graph.
|
OnnxProto3.NodeProto |
getNode(int index)
The nodes in the graph.
|
int |
getNodeCount()
The nodes in the graph.
|
List<OnnxProto3.NodeProto> |
getNodeList()
The nodes in the graph.
|
OnnxProto3.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph.
|
List<? extends OnnxProto3.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph.
|
OnnxProto3.ValueInfoProto |
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
int |
getOutputCount()
repeated .onnx.ValueInfoProto output = 12; |
List<OnnxProto3.ValueInfoProto> |
getOutputList()
repeated .onnx.ValueInfoProto output = 12; |
OnnxProto3.ValueInfoProtoOrBuilder |
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12; |
List<? extends OnnxProto3.ValueInfoProtoOrBuilder> |
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12; |
com.github.os72.protobuf351.Parser<OnnxProto3.GraphProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
OnnxProto3.ValueInfoProto |
getValueInfo(int index)
Information for the values in the graph.
|
int |
getValueInfoCount()
Information for the values in the graph.
|
List<OnnxProto3.ValueInfoProto> |
getValueInfoList()
Information for the values in the graph.
|
OnnxProto3.ValueInfoProtoOrBuilder |
getValueInfoOrBuilder(int index)
Information for the values in the graph.
|
List<? extends OnnxProto3.ValueInfoProtoOrBuilder> |
getValueInfoOrBuilderList()
Information for the values in the graph.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxProto3.GraphProto.Builder |
newBuilder() |
static OnnxProto3.GraphProto.Builder |
newBuilder(OnnxProto3.GraphProto prototype) |
OnnxProto3.GraphProto.Builder |
newBuilderForType() |
protected OnnxProto3.GraphProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OnnxProto3.GraphProto |
parseDelimitedFrom(InputStream input) |
static OnnxProto3.GraphProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxProto3.GraphProto |
parseFrom(byte[] data) |
static OnnxProto3.GraphProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxProto3.GraphProto |
parseFrom(ByteBuffer data) |
static OnnxProto3.GraphProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OnnxProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OnnxProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxProto3.GraphProto |
parseFrom(InputStream input) |
static OnnxProto3.GraphProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OnnxProto3.GraphProto> |
parser() |
OnnxProto3.GraphProto.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NODE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int INITIALIZER_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER
public static final int VALUE_INFO_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public List<OnnxProto3.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeList
in interface OnnxProto3.GraphProtoOrBuilder
public List<? extends OnnxProto3.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilderList
in interface OnnxProto3.GraphProtoOrBuilder
public int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeCount
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNode
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilder
in interface OnnxProto3.GraphProtoOrBuilder
public String getName()
The name of the graph.
string name = 2;
getName
in interface OnnxProto3.GraphProtoOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
The name of the graph.
string name = 2;
getNameBytes
in interface OnnxProto3.GraphProtoOrBuilder
public List<OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public List<? extends OnnxProto3.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 OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocString
in interface OnnxProto3.GraphProtoOrBuilder
public com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocStringBytes
in interface OnnxProto3.GraphProtoOrBuilder
public List<OnnxProto3.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputList
in interface OnnxProto3.GraphProtoOrBuilder
public List<? extends OnnxProto3.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilderList
in interface OnnxProto3.GraphProtoOrBuilder
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputCount
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInput
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilder
in interface OnnxProto3.GraphProtoOrBuilder
public List<OnnxProto3.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;
getOutputList
in interface OnnxProto3.GraphProtoOrBuilder
public List<? extends OnnxProto3.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilderList
in interface OnnxProto3.GraphProtoOrBuilder
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
getOutputCount
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutput
in interface OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilder
in interface OnnxProto3.GraphProtoOrBuilder
public List<OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public List<? extends OnnxProto3.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 OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public OnnxProto3.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 OnnxProto3.GraphProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static OnnxProto3.GraphProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxProto3.GraphProto parseFrom(InputStream input) throws IOException
IOException
public static OnnxProto3.GraphProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxProto3.GraphProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OnnxProto3.GraphProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxProto3.GraphProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static OnnxProto3.GraphProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OnnxProto3.GraphProto.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static OnnxProto3.GraphProto.Builder newBuilder()
public static OnnxProto3.GraphProto.Builder newBuilder(OnnxProto3.GraphProto prototype)
public OnnxProto3.GraphProto.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected OnnxProto3.GraphProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static OnnxProto3.GraphProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OnnxProto3.GraphProto> parser()
public com.github.os72.protobuf351.Parser<OnnxProto3.GraphProto> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public OnnxProto3.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.