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) |
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, 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 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
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 org.nd4j.shade.protobuf.ProtocolStringList getInputList()
namespace Value
repeated string input = 1;
getInputList
in interface OnnxMl.NodeProtoOrBuilder
public int getInputCount()
namespace Value
repeated string input = 1;
getInputCount
in interface OnnxMl.NodeProtoOrBuilder
public String getInput(int index)
namespace Value
repeated string input = 1;
getInput
in interface OnnxMl.NodeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;
getInputBytes
in interface OnnxMl.NodeProtoOrBuilder
public org.nd4j.shade.protobuf.ProtocolStringList getOutputList()
namespace Value
repeated string output = 2;
getOutputList
in interface OnnxMl.NodeProtoOrBuilder
public int getOutputCount()
namespace Value
repeated string output = 2;
getOutputCount
in interface OnnxMl.NodeProtoOrBuilder
public String getOutput(int index)
namespace Value
repeated string output = 2;
getOutput
in interface OnnxMl.NodeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;
getOutputBytes
in interface OnnxMl.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;
getOpType
in interface OnnxMl.NodeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;
getOpTypeBytes
in interface OnnxMl.NodeProtoOrBuilder
public String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;
getDomain
in interface OnnxMl.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public 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.NodeProtoOrBuilder
public String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
getDocString
in interface OnnxMl.NodeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
getDocStringBytes
in interface OnnxMl.NodeProtoOrBuilder
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.NodeProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.NodeProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static OnnxMl.NodeProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.NodeProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static OnnxMl.NodeProto parseFrom(InputStream input) throws IOException
IOException
public static OnnxMl.NodeProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMl.NodeProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OnnxMl.NodeProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static OnnxMl.NodeProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OnnxMl.NodeProto.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public 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.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected OnnxMl.NodeProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public OnnxMl.NodeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.