public static final class Onnx.GraphProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements Onnx.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 |
Onnx.GraphProto.Builder
GraphProto defines a parameterized series of nodes to form a directed acyclic graph.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 Onnx.GraphProto |
getDefaultInstance() |
Onnx.GraphProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this graph.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this graph.
|
Onnx.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<Onnx.TensorProto> |
getInitializerList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
Onnx.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 Onnx.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
Onnx.ValueInfoProto |
getInput(int index)
The inputs and outputs of the graph.
|
int |
getInputCount()
The inputs and outputs of the graph.
|
List<Onnx.ValueInfoProto> |
getInputList()
The inputs and outputs of the graph.
|
Onnx.ValueInfoProtoOrBuilder |
getInputOrBuilder(int index)
The inputs and outputs of the graph.
|
List<? extends Onnx.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.
|
Onnx.NodeProto |
getNode(int index)
The nodes in the graph.
|
int |
getNodeCount()
The nodes in the graph.
|
List<Onnx.NodeProto> |
getNodeList()
The nodes in the graph.
|
Onnx.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph.
|
List<? extends Onnx.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph.
|
Onnx.ValueInfoProto |
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
int |
getOutputCount()
repeated .onnx.ValueInfoProto output = 12; |
List<Onnx.ValueInfoProto> |
getOutputList()
repeated .onnx.ValueInfoProto output = 12; |
Onnx.ValueInfoProtoOrBuilder |
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12; |
List<? extends Onnx.ValueInfoProtoOrBuilder> |
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12; |
org.nd4j.shade.protobuf.Parser<Onnx.GraphProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
Onnx.ValueInfoProto |
getValueInfo(int index)
Information for the values in the graph.
|
int |
getValueInfoCount()
Information for the values in the graph.
|
List<Onnx.ValueInfoProto> |
getValueInfoList()
Information for the values in the graph.
|
Onnx.ValueInfoProtoOrBuilder |
getValueInfoOrBuilder(int index)
Information for the values in the graph.
|
List<? extends Onnx.ValueInfoProtoOrBuilder> |
getValueInfoOrBuilderList()
Information for the values in the graph.
|
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Onnx.GraphProto.Builder |
newBuilder() |
static Onnx.GraphProto.Builder |
newBuilder(Onnx.GraphProto prototype) |
Onnx.GraphProto.Builder |
newBuilderForType() |
protected Onnx.GraphProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Onnx.GraphProto |
parseDelimitedFrom(InputStream input) |
static Onnx.GraphProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.GraphProto |
parseFrom(byte[] data) |
static Onnx.GraphProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.GraphProto |
parseFrom(ByteBuffer data) |
static Onnx.GraphProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.GraphProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static Onnx.GraphProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.GraphProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static Onnx.GraphProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.GraphProto |
parseFrom(InputStream input) |
static Onnx.GraphProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<Onnx.GraphProto> |
parser() |
Onnx.GraphProto.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public List<Onnx.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeList in interface Onnx.GraphProtoOrBuilderpublic List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilderList in interface Onnx.GraphProtoOrBuilderpublic int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeCount in interface Onnx.GraphProtoOrBuilderpublic Onnx.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNode in interface Onnx.GraphProtoOrBuilderpublic Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilder in interface Onnx.GraphProtoOrBuilderpublic String getName()
The name of the graph.
string name = 2;getName in interface Onnx.GraphProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;getNameBytes in interface Onnx.GraphProtoOrBuilderpublic List<Onnx.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 Onnx.GraphProtoOrBuilderpublic List<? extends Onnx.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 Onnx.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 Onnx.GraphProtoOrBuilderpublic Onnx.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 Onnx.GraphProtoOrBuilderpublic Onnx.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 Onnx.GraphProtoOrBuilderpublic String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocString in interface Onnx.GraphProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocStringBytes in interface Onnx.GraphProtoOrBuilderpublic List<Onnx.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputList in interface Onnx.GraphProtoOrBuilderpublic List<? extends Onnx.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilderList in interface Onnx.GraphProtoOrBuilderpublic int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputCount in interface Onnx.GraphProtoOrBuilderpublic Onnx.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInput in interface Onnx.GraphProtoOrBuilderpublic Onnx.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilder in interface Onnx.GraphProtoOrBuilderpublic List<Onnx.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;getOutputList in interface Onnx.GraphProtoOrBuilderpublic List<? extends Onnx.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilderList in interface Onnx.GraphProtoOrBuilderpublic int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;getOutputCount in interface Onnx.GraphProtoOrBuilderpublic Onnx.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;getOutput in interface Onnx.GraphProtoOrBuilderpublic Onnx.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilder in interface Onnx.GraphProtoOrBuilderpublic 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;getValueInfoList in interface Onnx.GraphProtoOrBuilderpublic 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;getValueInfoOrBuilderList in interface Onnx.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 Onnx.GraphProtoOrBuilderpublic Onnx.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 Onnx.GraphProtoOrBuilderpublic Onnx.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 Onnx.GraphProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static Onnx.GraphProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.GraphProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static Onnx.GraphProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Onnx.GraphProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Onnx.GraphProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Onnx.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Onnx.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Onnx.GraphProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static Onnx.GraphProto.Builder newBuilder()
public static Onnx.GraphProto.Builder newBuilder(Onnx.GraphProto prototype)
public Onnx.GraphProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected Onnx.GraphProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static Onnx.GraphProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<Onnx.GraphProto> parser()
public org.nd4j.shade.protobuf.Parser<Onnx.GraphProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public Onnx.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.