Package onnx
Class OnnxOperators.OperatorProto
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- onnx.OnnxOperators.OperatorProto
-
- All Implemented Interfaces:
Serializable
,OnnxOperators.OperatorProtoOrBuilder
,org.nd4j.shade.protobuf.Message
,org.nd4j.shade.protobuf.MessageLite
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxOperators
public static final class OnnxOperators.OperatorProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements OnnxOperators.OperatorProtoOrBuilder
An OperatorProto represents the immutable specification of the signature and semantics of an operator. Operators are declared as part of an OperatorSet, which also defines the domain name for the set. Operators are uniquely identified by a three part identifier (domain, op_type, since_version) where *domain* is the domain of an operator set that contains this operator specification. *op_type* is the name of the operator as referenced by a NodeProto.op_type *since_version* is the version of the operator set that this operator was initially declared in.
Protobuf typeonnx.OperatorProto
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OnnxOperators.OperatorProto.Builder
An OperatorProto represents the immutable specification of the signature and semantics of an operator.-
Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOC_STRING_FIELD_NUMBER
static int
OP_TYPE_FIELD_NUMBER
static int
SINCE_VERSION_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static OnnxOperators.OperatorProto
getDefaultInstance()
OnnxOperators.OperatorProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDocString()
A human-readable documentation for this operator.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this operator.String
getOpType()
The name of the operator within a domain.org.nd4j.shade.protobuf.ByteString
getOpTypeBytes()
The name of the operator within a domain.org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto>
getParserForType()
int
getSerializedSize()
long
getSinceVersion()
The version of the operator set that first introduced this operator.Onnx.OperatorStatus
getStatus()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage.int
getStatusValue()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage.org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OnnxOperators.OperatorProto.Builder
newBuilder()
static OnnxOperators.OperatorProto.Builder
newBuilder(OnnxOperators.OperatorProto prototype)
OnnxOperators.OperatorProto.Builder
newBuilderForType()
protected OnnxOperators.OperatorProto.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OnnxOperators.OperatorProto
parseDelimitedFrom(InputStream input)
static OnnxOperators.OperatorProto
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OnnxOperators.OperatorProto
parseFrom(byte[] data)
static OnnxOperators.OperatorProto
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OnnxOperators.OperatorProto
parseFrom(InputStream input)
static OnnxOperators.OperatorProto
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OnnxOperators.OperatorProto
parseFrom(ByteBuffer data)
static OnnxOperators.OperatorProto
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OnnxOperators.OperatorProto
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static OnnxOperators.OperatorProto
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OnnxOperators.OperatorProto
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static OnnxOperators.OperatorProto
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto>
parser()
OnnxOperators.OperatorProto.Builder
toBuilder()
void
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
OP_TYPE_FIELD_NUMBER
public static final int OP_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINCE_VERSION_FIELD_NUMBER
public static final int SINCE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getOpType
public String getOpType()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;
- Specified by:
getOpType
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The opType.
-
getOpTypeBytes
public org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;
- Specified by:
getOpTypeBytes
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The bytes for opType.
-
getSinceVersion
public long getSinceVersion()
The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.
int64 since_version = 2;
- Specified by:
getSinceVersion
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The sinceVersion.
-
getStatusValue
public int getStatusValue()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorStatus status = 3;
- Specified by:
getStatusValue
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public Onnx.OperatorStatus getStatus()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorStatus status = 3;
- Specified by:
getStatus
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The status.
-
getDocString
public String getDocString()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;
- Specified by:
getDocString
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;
- Specified by:
getDocStringBytes
in interfaceOnnxOperators.OperatorProtoOrBuilder
- Returns:
- The bytes for docString.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in classorg.nd4j.shade.protobuf.AbstractMessage
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OnnxOperators.OperatorProto parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OnnxOperators.OperatorProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OnnxOperators.OperatorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OnnxOperators.OperatorProto.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilder
public static OnnxOperators.OperatorProto.Builder newBuilder()
-
newBuilder
public static OnnxOperators.OperatorProto.Builder newBuilder(OnnxOperators.OperatorProto prototype)
-
toBuilder
public OnnxOperators.OperatorProto.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected OnnxOperators.OperatorProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OnnxOperators.OperatorProto getDefaultInstance()
-
parser
public static org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto> parser()
-
getParserForType
public org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto> getParserForType()
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OnnxOperators.OperatorProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-