public static final class OnnxOperators.OperatorSetProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements OnnxOperators.OperatorSetProtoOrBuilder
An OperatorSetProto represents an immutable set of immutable operator specifications. The domain of the set (OperatorSetProto.domain) is a reverse-DNS name that disambiguates operator sets defined by independent entities. The version of the set (opset_version) is a monotonically increasing integer that indicates changes to the membership of the operator set. Operator sets are uniquely identified by a two part identifier (domain, opset_version) Like ModelProto, OperatorSetProto is intended as a top-level file/wire format, and thus has the standard format headers in addition to the operator set information.Protobuf type
onnx.OperatorSetProto| Modifier and Type | Class and Description |
|---|---|
static class |
OnnxOperators.OperatorSetProto.Builder
An OperatorSetProto represents an immutable set of immutable operator
specifications.
|
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 |
DOC_STRING_FIELD_NUMBER |
static int |
DOMAIN_FIELD_NUMBER |
static int |
IR_BUILD_METADATA_FIELD_NUMBER |
static int |
IR_VERSION_FIELD_NUMBER |
static int |
IR_VERSION_PRERELEASE_FIELD_NUMBER |
static int |
MAGIC_FIELD_NUMBER |
static int |
OPERATOR_FIELD_NUMBER |
static int |
OPSET_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OnnxOperators.OperatorSetProto |
getDefaultInstance() |
OnnxOperators.OperatorSetProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this set of operators.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this set of operators.
|
String |
getDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
|
org.nd4j.shade.protobuf.ByteString |
getDomainBytes()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
|
String |
getIrBuildMetadata()
The build metadata component of the SemVer of the IR.
|
org.nd4j.shade.protobuf.ByteString |
getIrBuildMetadataBytes()
The build metadata component of the SemVer of the IR.
|
int |
getIrVersion()
All OperatorSetProtos indicate the version of the IR syntax and semantics
they adhere to.
|
String |
getIrVersionPrerelease()
The prerelease component of the SemVer of the IR.
|
org.nd4j.shade.protobuf.ByteString |
getIrVersionPrereleaseBytes()
The prerelease component of the SemVer of the IR.
|
String |
getMagic()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate
protobuf files containing OperatorSets from other content.
|
org.nd4j.shade.protobuf.ByteString |
getMagicBytes()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate
protobuf files containing OperatorSets from other content.
|
OnnxOperators.OperatorProto |
getOperator(int index)
The operators specified by this operator set.
|
int |
getOperatorCount()
The operators specified by this operator set.
|
List<OnnxOperators.OperatorProto> |
getOperatorList()
The operators specified by this operator set.
|
OnnxOperators.OperatorProtoOrBuilder |
getOperatorOrBuilder(int index)
The operators specified by this operator set.
|
List<? extends OnnxOperators.OperatorProtoOrBuilder> |
getOperatorOrBuilderList()
The operators specified by this operator set.
|
long |
getOpsetVersion()
The version of the set of operators.
|
org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorSetProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxOperators.OperatorSetProto.Builder |
newBuilder() |
static OnnxOperators.OperatorSetProto.Builder |
newBuilder(OnnxOperators.OperatorSetProto prototype) |
OnnxOperators.OperatorSetProto.Builder |
newBuilderForType() |
protected OnnxOperators.OperatorSetProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxOperators.OperatorSetProto |
parseDelimitedFrom(InputStream input) |
static OnnxOperators.OperatorSetProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxOperators.OperatorSetProto |
parseFrom(byte[] data) |
static OnnxOperators.OperatorSetProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxOperators.OperatorSetProto |
parseFrom(ByteBuffer data) |
static OnnxOperators.OperatorSetProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxOperators.OperatorSetProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static OnnxOperators.OperatorSetProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxOperators.OperatorSetProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static OnnxOperators.OperatorSetProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxOperators.OperatorSetProto |
parseFrom(InputStream input) |
static OnnxOperators.OperatorSetProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorSetProto> |
parser() |
OnnxOperators.OperatorSetProto.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MAGIC_FIELD_NUMBER
public static final int IR_VERSION_FIELD_NUMBER
public static final int IR_VERSION_PRERELEASE_FIELD_NUMBER
public static final int IR_BUILD_METADATA_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
public static final int OPSET_VERSION_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getMagic()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content. This field MUST be "ONNXOPSET" This field MUST be present in this version of the IR
string magic = 1;getMagic in interface OnnxOperators.OperatorSetProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getMagicBytes()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content. This field MUST be "ONNXOPSET" This field MUST be present in this version of the IR
string magic = 1;getMagicBytes in interface OnnxOperators.OperatorSetProtoOrBuilderpublic int getIrVersion()
All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to. It is always IR_VERSION. This field MUST be present in this version of the IR
int32 ir_version = 2;getIrVersion in interface OnnxOperators.OperatorSetProtoOrBuilderpublic String getIrVersionPrerelease()
The prerelease component of the SemVer of the IR. This field MAY be absent in this version of the IR
string ir_version_prerelease = 3;getIrVersionPrerelease in interface OnnxOperators.OperatorSetProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getIrVersionPrereleaseBytes()
The prerelease component of the SemVer of the IR. This field MAY be absent in this version of the IR
string ir_version_prerelease = 3;getIrVersionPrereleaseBytes in interface OnnxOperators.OperatorSetProtoOrBuilderpublic String getIrBuildMetadata()
The build metadata component of the SemVer of the IR. This field MAY be absent in this version of the IR
string ir_build_metadata = 7;getIrBuildMetadata in interface OnnxOperators.OperatorSetProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getIrBuildMetadataBytes()
The build metadata component of the SemVer of the IR. This field MAY be absent in this version of the IR
string ir_build_metadata = 7;getIrBuildMetadataBytes in interface OnnxOperators.OperatorSetProtoOrBuilderpublic String getDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;getDomain in interface OnnxOperators.OperatorSetProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDomainBytes()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;getDomainBytes in interface OnnxOperators.OperatorSetProtoOrBuilderpublic long getOpsetVersion()
The version of the set of operators. This is a simple int value that is monotonically increasing as new versions of operator set are published. All operators in this set MUST have version numbers no greater than opset_version.
int64 opset_version = 5;getOpsetVersion in interface OnnxOperators.OperatorSetProtoOrBuilderpublic String getDocString()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;getDocString in interface OnnxOperators.OperatorSetProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface OnnxOperators.OperatorSetProtoOrBuilderpublic List<OnnxOperators.OperatorProto> getOperatorList()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;getOperatorList in interface OnnxOperators.OperatorSetProtoOrBuilderpublic List<? extends OnnxOperators.OperatorProtoOrBuilder> getOperatorOrBuilderList()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;getOperatorOrBuilderList in interface OnnxOperators.OperatorSetProtoOrBuilderpublic int getOperatorCount()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;getOperatorCount in interface OnnxOperators.OperatorSetProtoOrBuilderpublic OnnxOperators.OperatorProto getOperator(int index)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;getOperator in interface OnnxOperators.OperatorSetProtoOrBuilderpublic OnnxOperators.OperatorProtoOrBuilder getOperatorOrBuilder(int index)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;getOperatorOrBuilder in interface OnnxOperators.OperatorSetProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static OnnxOperators.OperatorSetProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxOperators.OperatorSetProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxOperators.OperatorSetProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OnnxOperators.OperatorSetProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OnnxOperators.OperatorSetProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static OnnxOperators.OperatorSetProto.Builder newBuilder()
public static OnnxOperators.OperatorSetProto.Builder newBuilder(OnnxOperators.OperatorSetProto prototype)
public OnnxOperators.OperatorSetProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected OnnxOperators.OperatorSetProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static OnnxOperators.OperatorSetProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorSetProto> parser()
public org.nd4j.shade.protobuf.Parser<OnnxOperators.OperatorSetProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public OnnxOperators.OperatorSetProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.