public static final class OnnxMl.NodeProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements OnnxMl.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 |
OnnxMl.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) |
OnnxMl.AttributeProto |
getAttribute(int index)
Additional named attributes.
|
int |
getAttributeCount()
Additional named attributes.
|
List<OnnxMl.AttributeProto> |
getAttributeList()
Additional named attributes.
|
OnnxMl.AttributeProtoOrBuilder |
getAttributeOrBuilder(int index)
Additional named attributes.
|
List<? extends OnnxMl.AttributeProtoOrBuilder> |
getAttributeOrBuilderList()
Additional named attributes.
|
static OnnxMl.NodeProto |
getDefaultInstance() |
OnnxMl.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<OnnxMl.NodeProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMl.NodeProto.Builder |
newBuilder() |
static OnnxMl.NodeProto.Builder |
newBuilder(OnnxMl.NodeProto prototype) |
OnnxMl.NodeProto.Builder |
newBuilderForType() |
protected OnnxMl.NodeProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxMl.NodeProto |
parseDelimitedFrom(InputStream input) |
static OnnxMl.NodeProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(byte[] data) |
static OnnxMl.NodeProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(ByteBuffer data) |
static OnnxMl.NodeProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static OnnxMl.NodeProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static OnnxMl.NodeProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(InputStream input) |
static OnnxMl.NodeProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<OnnxMl.NodeProto> |
parser() |
OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic int getInputCount()
namespace Value
repeated string input = 1;getInputCount in interface OnnxMl.NodeProtoOrBuilderpublic String getInput(int index)
namespace Value
repeated string input = 1;getInput in interface OnnxMl.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;getInputBytes in interface OnnxMl.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ProtocolStringList getOutputList()
namespace Value
repeated string output = 2;getOutputList in interface OnnxMl.NodeProtoOrBuilderpublic int getOutputCount()
namespace Value
repeated string output = 2;getOutputCount in interface OnnxMl.NodeProtoOrBuilderpublic String getOutput(int index)
namespace Value
repeated string output = 2;getOutput in interface OnnxMl.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;getOutputBytes in interface OnnxMl.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 OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;getOpType in interface OnnxMl.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;getOpTypeBytes in interface OnnxMl.NodeProtoOrBuilderpublic String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;getDomain in interface OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic List<OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic List<? extends OnnxMl.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 OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic OnnxMl.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 OnnxMl.NodeProtoOrBuilderpublic String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;getDocString in interface OnnxMl.NodeProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface OnnxMl.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 OnnxMl.NodeProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.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 OnnxMl.NodeProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMl.NodeProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMl.NodeProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxMl.NodeProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OnnxMl.NodeProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static OnnxMl.NodeProto.Builder newBuilder()
public static OnnxMl.NodeProto.Builder newBuilder(OnnxMl.NodeProto prototype)
public OnnxMl.NodeProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected OnnxMl.NodeProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static OnnxMl.NodeProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<OnnxMl.NodeProto> parser()
public org.nd4j.shade.protobuf.Parser<OnnxMl.NodeProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public OnnxMl.NodeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.