public static final class OnnxMl.GraphProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements OnnxMl.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 |
OnnxMl.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 OnnxMl.GraphProto |
getDefaultInstance() |
OnnxMl.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.
|
OnnxMl.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<OnnxMl.TensorProto> |
getInitializerList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.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 OnnxMl.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.ValueInfoProto |
getInput(int index)
The inputs and outputs of the graph.
|
int |
getInputCount()
The inputs and outputs of the graph.
|
List<OnnxMl.ValueInfoProto> |
getInputList()
The inputs and outputs of the graph.
|
OnnxMl.ValueInfoProtoOrBuilder |
getInputOrBuilder(int index)
The inputs and outputs of the graph.
|
List<? extends OnnxMl.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.
|
OnnxMl.NodeProto |
getNode(int index)
The nodes in the graph.
|
int |
getNodeCount()
The nodes in the graph.
|
List<OnnxMl.NodeProto> |
getNodeList()
The nodes in the graph.
|
OnnxMl.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph.
|
List<? extends OnnxMl.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph.
|
OnnxMl.ValueInfoProto |
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
int |
getOutputCount()
repeated .onnx.ValueInfoProto output = 12; |
List<OnnxMl.ValueInfoProto> |
getOutputList()
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.ValueInfoProtoOrBuilder |
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12; |
List<? extends OnnxMl.ValueInfoProtoOrBuilder> |
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12; |
org.nd4j.shade.protobuf.Parser<OnnxMl.GraphProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
OnnxMl.ValueInfoProto |
getValueInfo(int index)
Information for the values in the graph.
|
int |
getValueInfoCount()
Information for the values in the graph.
|
List<OnnxMl.ValueInfoProto> |
getValueInfoList()
Information for the values in the graph.
|
OnnxMl.ValueInfoProtoOrBuilder |
getValueInfoOrBuilder(int index)
Information for the values in the graph.
|
List<? extends OnnxMl.ValueInfoProtoOrBuilder> |
getValueInfoOrBuilderList()
Information for the values in the graph.
|
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMl.GraphProto.Builder |
newBuilder() |
static OnnxMl.GraphProto.Builder |
newBuilder(OnnxMl.GraphProto prototype) |
OnnxMl.GraphProto.Builder |
newBuilderForType() |
protected OnnxMl.GraphProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxMl.GraphProto |
parseDelimitedFrom(InputStream input) |
static OnnxMl.GraphProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.GraphProto |
parseFrom(byte[] data) |
static OnnxMl.GraphProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.GraphProto |
parseFrom(ByteBuffer data) |
static OnnxMl.GraphProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.GraphProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static OnnxMl.GraphProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.GraphProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static OnnxMl.GraphProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.GraphProto |
parseFrom(InputStream input) |
static OnnxMl.GraphProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<OnnxMl.GraphProto> |
parser() |
OnnxMl.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<OnnxMl.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeList in interface OnnxMl.GraphProtoOrBuilderpublic List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilderList in interface OnnxMl.GraphProtoOrBuilderpublic int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeCount in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNode in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;getNodeOrBuilder in interface OnnxMl.GraphProtoOrBuilderpublic String getName()
The name of the graph.
string name = 2;getName in interface OnnxMl.GraphProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;getNameBytes in interface OnnxMl.GraphProtoOrBuilderpublic List<OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic List<? extends OnnxMl.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 OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocString in interface OnnxMl.GraphProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;getDocStringBytes in interface OnnxMl.GraphProtoOrBuilderpublic List<OnnxMl.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputList in interface OnnxMl.GraphProtoOrBuilderpublic List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilderList in interface OnnxMl.GraphProtoOrBuilderpublic int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputCount in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInput in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;getInputOrBuilder in interface OnnxMl.GraphProtoOrBuilderpublic List<OnnxMl.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;getOutputList in interface OnnxMl.GraphProtoOrBuilderpublic List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilderList in interface OnnxMl.GraphProtoOrBuilderpublic int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;getOutputCount in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;getOutput in interface OnnxMl.GraphProtoOrBuilderpublic OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilder in interface OnnxMl.GraphProtoOrBuilderpublic List<OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic List<? extends OnnxMl.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 OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic OnnxMl.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 OnnxMl.GraphProtoOrBuilderpublic OnnxMl.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 OnnxMl.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 OnnxMl.GraphProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.GraphProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.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 OnnxMl.GraphProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.GraphProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.GraphProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMl.GraphProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMl.GraphProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMl.GraphProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OnnxMl.GraphProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static OnnxMl.GraphProto.Builder newBuilder()
public static OnnxMl.GraphProto.Builder newBuilder(OnnxMl.GraphProto prototype)
public OnnxMl.GraphProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected OnnxMl.GraphProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static OnnxMl.GraphProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<OnnxMl.GraphProto> parser()
public org.nd4j.shade.protobuf.Parser<OnnxMl.GraphProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public OnnxMl.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.