public static final class OnnxMl.NodeProto extends com.google.protobuf.GeneratedMessageV3 implements OnnxMl.NodeProtoOrBuilder
Nodes Computation graphs are made up of a DAG of nodes, which represent what is commonly called a "layer" or "pipeline stage" in machine 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
Nodes
Computation graphs are made up of a DAG of nodes, which represent what is
commonly called a "layer" or "pipeline stage" in machine learning frameworks.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.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 |
static com.google.protobuf.Parser<OnnxMl.NodeProto> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
OnnxMl.AttributeProto |
getAttribute(int index)
Additional named attributes.
|
int |
getAttributeCount()
Additional named attributes.
|
java.util.List<OnnxMl.AttributeProto> |
getAttributeList()
Additional named attributes.
|
OnnxMl.AttributeProtoOrBuilder |
getAttributeOrBuilder(int index)
Additional named attributes.
|
java.util.List<? extends OnnxMl.AttributeProtoOrBuilder> |
getAttributeOrBuilderList()
Additional named attributes.
|
static OnnxMl.NodeProto |
getDefaultInstance() |
OnnxMl.NodeProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDocString()
A human-readable documentation for this node.
|
com.google.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this node.
|
java.lang.String |
getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
|
com.google.protobuf.ByteString |
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
|
java.lang.String |
getInput(int index)
namespace Value
|
com.google.protobuf.ByteString |
getInputBytes(int index)
namespace Value
|
int |
getInputCount()
namespace Value
|
com.google.protobuf.ProtocolStringList |
getInputList()
namespace Value
|
java.lang.String |
getName()
An optional identifier for this node in a graph.
|
com.google.protobuf.ByteString |
getNameBytes()
An optional identifier for this node in a graph.
|
java.lang.String |
getOpType()
The symbolic identifier of the Operator to execute.
|
com.google.protobuf.ByteString |
getOpTypeBytes()
The symbolic identifier of the Operator to execute.
|
java.lang.String |
getOutput(int index)
namespace Value
|
com.google.protobuf.ByteString |
getOutputBytes(int index)
namespace Value
|
int |
getOutputCount()
namespace Value
|
com.google.protobuf.ProtocolStringList |
getOutputList()
namespace Value
|
com.google.protobuf.Parser<OnnxMl.NodeProto> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDocString()
A human-readable documentation for this node.
|
boolean |
hasDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
|
int |
hashCode() |
boolean |
hasName()
An optional identifier for this node in a graph.
|
boolean |
hasOpType()
The symbolic identifier of the Operator to execute.
|
protected com.google.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxMl.NodeProto |
parseDelimitedFrom(java.io.InputStream input) |
static OnnxMl.NodeProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(byte[] data) |
static OnnxMl.NodeProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(java.nio.ByteBuffer data) |
static OnnxMl.NodeProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(com.google.protobuf.ByteString data) |
static OnnxMl.NodeProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OnnxMl.NodeProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.NodeProto |
parseFrom(java.io.InputStream input) |
static OnnxMl.NodeProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OnnxMl.NodeProto> |
parser() |
OnnxMl.NodeProto.Builder |
toBuilder() |
void |
writeTo(com.google.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
@Deprecated public static final com.google.protobuf.Parser<OnnxMl.NodeProto> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.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 java.lang.String getInput(int index)
namespace Value
repeated string input = 1;getInput in interface OnnxMl.NodeProtoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;getInputBytes in interface OnnxMl.NodeProtoOrBuilderindex - The index of the value to return.public com.google.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 java.lang.String getOutput(int index)
namespace Value
repeated string output = 2;getOutput in interface OnnxMl.NodeProtoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;getOutputBytes in interface OnnxMl.NodeProtoOrBuilderindex - The index of the value to return.public boolean hasName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;hasName in interface OnnxMl.NodeProtoOrBuilderpublic java.lang.String getName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;getName in interface OnnxMl.NodeProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;getNameBytes in interface OnnxMl.NodeProtoOrBuilderpublic boolean hasOpType()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;hasOpType in interface OnnxMl.NodeProtoOrBuilderpublic java.lang.String getOpType()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;getOpType in interface OnnxMl.NodeProtoOrBuilderpublic com.google.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;getOpTypeBytes in interface OnnxMl.NodeProtoOrBuilderpublic boolean hasDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;hasDomain in interface OnnxMl.NodeProtoOrBuilderpublic java.lang.String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;getDomain in interface OnnxMl.NodeProtoOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;getDomainBytes in interface OnnxMl.NodeProtoOrBuilderpublic java.util.List<OnnxMl.AttributeProto> getAttributeList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;getAttributeList in interface OnnxMl.NodeProtoOrBuilderpublic java.util.List<? extends OnnxMl.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;getAttributeOrBuilderList in interface OnnxMl.NodeProtoOrBuilderpublic int getAttributeCount()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;getAttributeCount in interface OnnxMl.NodeProtoOrBuilderpublic OnnxMl.AttributeProto getAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;getAttribute in interface OnnxMl.NodeProtoOrBuilderpublic OnnxMl.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;getAttributeOrBuilder in interface OnnxMl.NodeProtoOrBuilderpublic boolean hasDocString()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;hasDocString in interface OnnxMl.NodeProtoOrBuilderpublic java.lang.String getDocString()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;getDocString in interface OnnxMl.NodeProtoOrBuilderpublic com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;getDocStringBytes in interface OnnxMl.NodeProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OnnxMl.NodeProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.NodeProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.NodeProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.NodeProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.NodeProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.NodeProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.NodeProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic OnnxMl.NodeProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OnnxMl.NodeProto.Builder newBuilder()
public static OnnxMl.NodeProto.Builder newBuilder(OnnxMl.NodeProto prototype)
public OnnxMl.NodeProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OnnxMl.NodeProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OnnxMl.NodeProto getDefaultInstance()
public static com.google.protobuf.Parser<OnnxMl.NodeProto> parser()
public com.google.protobuf.Parser<OnnxMl.NodeProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OnnxMl.NodeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder