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