public static final class Onnx.NodeProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements Onnx.NodeProtoOrBuilder
NodeProto stores a node that is similar to the notion of "layer" or "operator" in many deep learning frameworks. For example, it can be a node of type "Conv" that takes in an image, a filter tensor and a bias tensor, and produces the convolved output.Protobuf type
onnx.NodeProto| Modifier and Type | Class and Description |
|---|---|
static class |
Onnx.NodeProto.Builder
NodeProto stores a node that is similar to the notion of "layer"
or "operator" in many deep learning frameworks.
|
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 |
ATTRIBUTE_FIELD_NUMBER |
static int |
DOC_STRING_FIELD_NUMBER |
static int |
DOMAIN_FIELD_NUMBER |
static int |
INPUT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OP_TYPE_FIELD_NUMBER |
static int |
OUTPUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Onnx.AttributeProto |
getAttribute(int index)
Additional named attributes.
|
int |
getAttributeCount()
Additional named attributes.
|
List<Onnx.AttributeProto> |
getAttributeList()
Additional named attributes.
|
Onnx.AttributeProtoOrBuilder |
getAttributeOrBuilder(int index)
Additional named attributes.
|
List<? extends Onnx.AttributeProtoOrBuilder> |
getAttributeOrBuilderList()
Additional named attributes.
|
static Onnx.NodeProto |
getDefaultInstance() |
Onnx.NodeProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this node.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this node.
|
String |
getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
|
org.nd4j.shade.protobuf.ByteString |
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
|
String |
getInput(int index)
namespace Value
|
org.nd4j.shade.protobuf.ByteString |
getInputBytes(int index)
namespace Value
|
int |
getInputCount()
namespace Value
|
org.nd4j.shade.protobuf.ProtocolStringList |
getInputList()
namespace Value
|
String |
getName()
An optional identifier for this node in a graph.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
An optional identifier for this node in a graph.
|
String |
getOpType()
The symbolic identifier of the Operator to execute.
|
org.nd4j.shade.protobuf.ByteString |
getOpTypeBytes()
The symbolic identifier of the Operator to execute.
|
String |
getOutput(int index)
namespace Value
|
org.nd4j.shade.protobuf.ByteString |
getOutputBytes(int index)
namespace Value
|
int |
getOutputCount()
namespace Value
|
org.nd4j.shade.protobuf.ProtocolStringList |
getOutputList()
namespace Value
|
org.nd4j.shade.protobuf.Parser<Onnx.NodeProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Onnx.NodeProto.Builder |
newBuilder() |
static Onnx.NodeProto.Builder |
newBuilder(Onnx.NodeProto prototype) |
Onnx.NodeProto.Builder |
newBuilderForType() |
protected Onnx.NodeProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Onnx.NodeProto |
parseDelimitedFrom(InputStream input) |
static Onnx.NodeProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.NodeProto |
parseFrom(byte[] data) |
static Onnx.NodeProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.NodeProto |
parseFrom(ByteBuffer data) |
static Onnx.NodeProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.NodeProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static Onnx.NodeProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.NodeProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static Onnx.NodeProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.NodeProto |
parseFrom(InputStream input) |
static Onnx.NodeProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<Onnx.NodeProto> |
parser() |
Onnx.NodeProto.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 INPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int OP_TYPE_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER
public static final int DOC_STRING_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 org.nd4j.shade.protobuf.ProtocolStringList getInputList()
namespace Value
repeated string input = 1;getInputList in interface Onnx.NodeProtoOrBuilderpublic int getInputCount()
namespace Value
repeated string input = 1;getInputCount in interface Onnx.NodeProtoOrBuilderpublic String getInput(int index)
namespace Value
repeated string input = 1;getInput in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;getInputBytes in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ProtocolStringList getOutputList()
namespace Value
repeated string output = 2;getOutputList in interface Onnx.NodeProtoOrBuilderpublic int getOutputCount()
namespace Value
repeated string output = 2;getOutputCount in interface Onnx.NodeProtoOrBuilderpublic String getOutput(int index)
namespace Value
repeated string output = 2;getOutput in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;getOutputBytes in interface Onnx.NodeProtoOrBuilderpublic String getName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;getName in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;getNameBytes in interface Onnx.NodeProtoOrBuilderpublic String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;getOpType in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;getOpTypeBytes in interface Onnx.NodeProtoOrBuilderpublic String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;getDomain in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;getDomainBytes in interface Onnx.NodeProtoOrBuilderpublic List<Onnx.AttributeProto> getAttributeList()
Additional named attributes.
NOTE: Simply using ValueProto.NameValuePairProto is the most general
solution. I kept AttributeProto to minimize churn on CI results.
repeated .onnx.AttributeProto attribute = 5;getAttributeList in interface Onnx.NodeProtoOrBuilderpublic List<? extends Onnx.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
NOTE: Simply using ValueProto.NameValuePairProto is the most general
solution. I kept AttributeProto to minimize churn on CI results.
repeated .onnx.AttributeProto attribute = 5;getAttributeOrBuilderList in interface Onnx.NodeProtoOrBuilderpublic int getAttributeCount()
Additional named attributes.
NOTE: Simply using ValueProto.NameValuePairProto is the most general
solution. I kept AttributeProto to minimize churn on CI results.
repeated .onnx.AttributeProto attribute = 5;getAttributeCount in interface Onnx.NodeProtoOrBuilderpublic Onnx.AttributeProto getAttribute(int index)
Additional named attributes.
NOTE: Simply using ValueProto.NameValuePairProto is the most general
solution. I kept AttributeProto to minimize churn on CI results.
repeated .onnx.AttributeProto attribute = 5;getAttribute in interface Onnx.NodeProtoOrBuilderpublic Onnx.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
NOTE: Simply using ValueProto.NameValuePairProto is the most general
solution. I kept AttributeProto to minimize churn on CI results.
repeated .onnx.AttributeProto attribute = 5;getAttributeOrBuilder in interface Onnx.NodeProtoOrBuilderpublic String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;getDocString in interface Onnx.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface Onnx.NodeProtoOrBuilderpublic 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.NodeProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.NodeProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.NodeProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.NodeProto 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.NodeProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.NodeProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static Onnx.NodeProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static Onnx.NodeProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Onnx.NodeProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Onnx.NodeProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Onnx.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Onnx.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Onnx.NodeProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static Onnx.NodeProto.Builder newBuilder()
public static Onnx.NodeProto.Builder newBuilder(Onnx.NodeProto prototype)
public Onnx.NodeProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected Onnx.NodeProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static Onnx.NodeProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<Onnx.NodeProto> parser()
public org.nd4j.shade.protobuf.Parser<Onnx.NodeProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public Onnx.NodeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.