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 classOnnxOperators.OperatorProto.BuilderAn 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 intDOC_STRING_FIELD_NUMBERstatic intOP_TYPE_FIELD_NUMBERstatic intSINCE_VERSION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OnnxOperators.OperatorProtogetDefaultInstance()OnnxOperators.OperatorProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDocString()A human-readable documentation for this operator.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this operator.StringgetOpType()The name of the operator within a domain.org.nd4j.shade.protobuf.ByteStringgetOpTypeBytes()The name of the operator within a domain.org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto>getParserForType()intgetSerializedSize()longgetSinceVersion()The version of the operator set that first introduced this operator.Onnx.OperatorStatusgetStatus()This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage.intgetStatusValue()This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage.org.nd4j.shade.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OnnxOperators.OperatorProto.BuildernewBuilder()static OnnxOperators.OperatorProto.BuildernewBuilder(OnnxOperators.OperatorProto prototype)OnnxOperators.OperatorProto.BuildernewBuilderForType()protected OnnxOperators.OperatorProto.BuildernewBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OnnxOperators.OperatorProtoparseDelimitedFrom(InputStream input)static OnnxOperators.OperatorProtoparseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static OnnxOperators.OperatorProtoparseFrom(byte[] data)static OnnxOperators.OperatorProtoparseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static OnnxOperators.OperatorProtoparseFrom(InputStream input)static OnnxOperators.OperatorProtoparseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static OnnxOperators.OperatorProtoparseFrom(ByteBuffer data)static OnnxOperators.OperatorProtoparseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static OnnxOperators.OperatorProtoparseFrom(org.nd4j.shade.protobuf.ByteString data)static OnnxOperators.OperatorProtoparseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static OnnxOperators.OperatorProtoparseFrom(org.nd4j.shade.protobuf.CodedInputStream input)static OnnxOperators.OperatorProtoparseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorProto>parser()OnnxOperators.OperatorProto.BuildertoBuilder()voidwriteTo(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:
newInstancein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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:
internalGetFieldAccessorTablein 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:
getOpTypein 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:
getOpTypeBytesin 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:
getSinceVersionin 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:
getStatusValuein 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:
getStatusin 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:
getDocStringin 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:
getDocStringBytesin interfaceOnnxOperators.OperatorProtoOrBuilder- Returns:
- The bytes for docString.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
writeToin classorg.nd4j.shade.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceorg.nd4j.shade.protobuf.Message- Overrides:
equalsin classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.nd4j.shade.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfaceorg.nd4j.shade.protobuf.Message- Specified by:
toBuilderin interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected OnnxOperators.OperatorProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
getParserForTypein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getParserForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OnnxOperators.OperatorProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-