public static final class OnnxMlProto3.NodeProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements OnnxMlProto3.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 |
OnnxMlProto3.NodeProto.Builder
NodeProto stores a node that is similar to the notion of "layer"
or "operator" in many deep learning frameworks.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
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) |
OnnxMlProto3.AttributeProto |
getAttribute(int index)
Additional named attributes.
|
int |
getAttributeCount()
Additional named attributes.
|
List<OnnxMlProto3.AttributeProto> |
getAttributeList()
Additional named attributes.
|
OnnxMlProto3.AttributeProtoOrBuilder |
getAttributeOrBuilder(int index)
Additional named attributes.
|
List<? extends OnnxMlProto3.AttributeProtoOrBuilder> |
getAttributeOrBuilderList()
Additional named attributes.
|
static OnnxMlProto3.NodeProto |
getDefaultInstance() |
OnnxMlProto3.NodeProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this node.
|
com.github.os72.protobuf351.ByteString |
getDocStringBytes()
A human-readable documentation for this node.
|
String |
getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
|
com.github.os72.protobuf351.ByteString |
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
|
String |
getInput(int index)
namespace Value
|
com.github.os72.protobuf351.ByteString |
getInputBytes(int index)
namespace Value
|
int |
getInputCount()
namespace Value
|
com.github.os72.protobuf351.ProtocolStringList |
getInputList()
namespace Value
|
String |
getName()
An optional identifier for this node in a graph.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
An optional identifier for this node in a graph.
|
String |
getOpType()
The symbolic identifier of the Operator to execute.
|
com.github.os72.protobuf351.ByteString |
getOpTypeBytes()
The symbolic identifier of the Operator to execute.
|
String |
getOutput(int index)
namespace Value
|
com.github.os72.protobuf351.ByteString |
getOutputBytes(int index)
namespace Value
|
int |
getOutputCount()
namespace Value
|
com.github.os72.protobuf351.ProtocolStringList |
getOutputList()
namespace Value
|
com.github.os72.protobuf351.Parser<OnnxMlProto3.NodeProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMlProto3.NodeProto.Builder |
newBuilder() |
static OnnxMlProto3.NodeProto.Builder |
newBuilder(OnnxMlProto3.NodeProto prototype) |
OnnxMlProto3.NodeProto.Builder |
newBuilderForType() |
protected OnnxMlProto3.NodeProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OnnxMlProto3.NodeProto |
parseDelimitedFrom(InputStream input) |
static OnnxMlProto3.NodeProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.NodeProto |
parseFrom(byte[] data) |
static OnnxMlProto3.NodeProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.NodeProto |
parseFrom(ByteBuffer data) |
static OnnxMlProto3.NodeProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.NodeProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OnnxMlProto3.NodeProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.NodeProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OnnxMlProto3.NodeProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxMlProto3.NodeProto |
parseFrom(InputStream input) |
static OnnxMlProto3.NodeProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OnnxMlProto3.NodeProto> |
parser() |
OnnxMlProto3.NodeProto.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public com.github.os72.protobuf351.ProtocolStringList getInputList()
namespace Value
repeated string input = 1;
getInputList
in interface OnnxMlProto3.NodeProtoOrBuilder
public int getInputCount()
namespace Value
repeated string input = 1;
getInputCount
in interface OnnxMlProto3.NodeProtoOrBuilder
public String getInput(int index)
namespace Value
repeated string input = 1;
getInput
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;
getInputBytes
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ProtocolStringList getOutputList()
namespace Value
repeated string output = 2;
getOutputList
in interface OnnxMlProto3.NodeProtoOrBuilder
public int getOutputCount()
namespace Value
repeated string output = 2;
getOutputCount
in interface OnnxMlProto3.NodeProtoOrBuilder
public String getOutput(int index)
namespace Value
repeated string output = 2;
getOutput
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;
getOutputBytes
in interface OnnxMlProto3.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 OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.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 OnnxMlProto3.NodeProtoOrBuilder
public String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;
getOpType
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;
getOpTypeBytes
in interface OnnxMlProto3.NodeProtoOrBuilder
public String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;
getDomain
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;
getDomainBytes
in interface OnnxMlProto3.NodeProtoOrBuilder
public List<OnnxMlProto3.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 OnnxMlProto3.NodeProtoOrBuilder
public List<? extends OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.NodeProtoOrBuilder
public OnnxMlProto3.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 OnnxMlProto3.NodeProtoOrBuilder
public OnnxMlProto3.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 OnnxMlProto3.NodeProtoOrBuilder
public String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
getDocString
in interface OnnxMlProto3.NodeProtoOrBuilder
public com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
getDocStringBytes
in interface OnnxMlProto3.NodeProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static OnnxMlProto3.NodeProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OnnxMlProto3.NodeProto parseFrom(InputStream input) throws IOException
IOException
public static OnnxMlProto3.NodeProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMlProto3.NodeProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OnnxMlProto3.NodeProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OnnxMlProto3.NodeProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static OnnxMlProto3.NodeProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OnnxMlProto3.NodeProto.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static OnnxMlProto3.NodeProto.Builder newBuilder()
public static OnnxMlProto3.NodeProto.Builder newBuilder(OnnxMlProto3.NodeProto prototype)
public OnnxMlProto3.NodeProto.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected OnnxMlProto3.NodeProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static OnnxMlProto3.NodeProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OnnxMlProto3.NodeProto> parser()
public com.github.os72.protobuf351.Parser<OnnxMlProto3.NodeProto> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public OnnxMlProto3.NodeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.