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) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
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 org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public List<OnnxMl.NodeProto> getNodeList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeList
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public int getNodeCount()
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.NodeProto getNode(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNode
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph.
repeated .onnx.NodeProto node = 1;
getNodeOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public String getName()
The name of the graph.
string name = 2;
getName
in interface OnnxMl.GraphProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the graph.
string name = 2;
getNameBytes
in interface OnnxMl.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public 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.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 OnnxMl.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocString
in interface OnnxMl.GraphProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
string doc_string = 10;
getDocStringBytes
in interface OnnxMl.GraphProtoOrBuilder
public List<OnnxMl.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputList
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInput
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;
getInputOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public List<OnnxMl.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;
getOutputList
in interface OnnxMl.GraphProtoOrBuilder
public List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilderList
in interface OnnxMl.GraphProtoOrBuilder
public int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;
getOutputCount
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutput
in interface OnnxMl.GraphProtoOrBuilder
public OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;
getOutputOrBuilder
in interface OnnxMl.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public 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.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 OnnxMl.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public 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.GraphProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static OnnxMl.GraphProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.GraphProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static OnnxMl.GraphProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.GraphProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.GraphProto parseFrom(InputStream input) throws IOException
IOException
public static OnnxMl.GraphProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMl.GraphProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OnnxMl.GraphProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static OnnxMl.GraphProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OnnxMl.GraphProto.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public 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.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected OnnxMl.GraphProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public OnnxMl.GraphProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.