public static final class OnnxMlProto3.GraphProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements OnnxMlProto3.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 |
OnnxMlProto3.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 OnnxMlProto3.GraphProto |
getDefaultInstance() |
OnnxMlProto3.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.
|
OnnxMlProto3.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<OnnxMlProto3.TensorProto> |
getInitializerList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.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 OnnxMlProto3.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.ValueInfoProto |
getInput(int index)
The inputs and outputs of the graph.
|
int |
getInputCount()
The inputs and outputs of the graph.
|
List<OnnxMlProto3.ValueInfoProto> |
getInputList()
The inputs and outputs of the graph.
|
OnnxMlProto3.ValueInfoProtoOrBuilder |
getInputOrBuilder(int index)
The inputs and outputs of the graph.
|
List<? extends OnnxMlProto3.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.
|
OnnxMlProto3.NodeProto |
getNode(int index)
The nodes in the graph.
|
int |
getNodeCount()
The nodes in the graph.
|
List<OnnxMlProto3.NodeProto> |
getNodeList()
The nodes in the graph.
|
OnnxMlProto3.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph.
|
List<? extends OnnxMlProto3.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph.
|
OnnxMlProto3.ValueInfoProto |
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
int |
getOutputCount()
repeated .onnx.ValueInfoProto output = 12; |
List<OnnxMlProto3.ValueInfoProto> |
getOutputList()
repeated .onnx.ValueInfoProto output = 12; |
OnnxMlProto3.ValueInfoProtoOrBuilder |
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12; |
List<? extends OnnxMlProto3.ValueInfoProtoOrBuilder> |
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12; |
com.github.os72.protobuf351.Parser<OnnxMlProto3.GraphProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
OnnxMlProto3.ValueInfoProto |
getValueInfo(int index)
Information for the values in the graph.
|
int |
getValueInfoCount()
Information for the values in the graph.
|
List<OnnxMlProto3.ValueInfoProto> |
getValueInfoList()
Information for the values in the graph.
|
OnnxMlProto3.ValueInfoProtoOrBuilder |
getValueInfoOrBuilder(int index)
Information for the values in the graph.
|
List<? extends OnnxMlProto3.ValueInfoProtoOrBuilder> |
getValueInfoOrBuilderList()
Information for the values in the graph.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMlProto3.GraphProto.Builder |
newBuilder() |
static OnnxMlProto3.GraphProto.Builder |
newBuilder(OnnxMlProto3.GraphProto prototype) |
OnnxMlProto3.GraphProto.Builder |
newBuilderForType() |
protected OnnxMlProto3.GraphProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OnnxMlProto3.GraphProto |
parseDelimitedFrom(InputStream input) |
static OnnxMlProto3.GraphProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.GraphProto |
parseFrom(byte[] data) |
static OnnxMlProto3.GraphProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.GraphProto |
parseFrom(ByteBuffer data) |
static OnnxMlProto3.GraphProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OnnxMlProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OnnxMlProto3.GraphProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.GraphProto |
parseFrom(InputStream input) |
static OnnxMlProto3.GraphProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OnnxMlProto3.GraphProto> |
parser() |
OnnxMlProto3.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3public List<OnnxMlProto3.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeList in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<? extends OnnxMlProto3.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilderList in interface OnnxMlProto3.GraphProtoOrBuilderpublic int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeCount in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNode in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilder in interface OnnxMlProto3.GraphProtoOrBuilderpublic String getName()
The name of the graph.
string name = 2;getName in interface OnnxMlProto3.GraphProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
The name of the graph.
string name = 2;getNameBytes in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic List<? extends OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic 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 OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocString in interface OnnxMlProto3.GraphProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocStringBytes in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<OnnxMlProto3.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputList in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<? extends OnnxMlProto3.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilderList in interface OnnxMlProto3.GraphProtoOrBuilderpublic int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputCount in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInput in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilder in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<OnnxMlProto3.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;getOutputList in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<? extends OnnxMlProto3.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilderList in interface OnnxMlProto3.GraphProtoOrBuilderpublic int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;getOutputCount in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;getOutput in interface OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilder in interface OnnxMlProto3.GraphProtoOrBuilderpublic List<OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic List<? extends OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic 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 OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.GraphProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static OnnxMlProto3.GraphProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxMlProto3.GraphProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMlProto3.GraphProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMlProto3.GraphProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMlProto3.GraphProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMlProto3.GraphProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static OnnxMlProto3.GraphProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OnnxMlProto3.GraphProto.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static OnnxMlProto3.GraphProto.Builder newBuilder()
public static OnnxMlProto3.GraphProto.Builder newBuilder(OnnxMlProto3.GraphProto prototype)
public OnnxMlProto3.GraphProto.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected OnnxMlProto3.GraphProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static OnnxMlProto3.GraphProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OnnxMlProto3.GraphProto> parser()
public com.github.os72.protobuf351.Parser<OnnxMlProto3.GraphProto> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public OnnxMlProto3.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.