public static final class OnnxOperatorsProto3.OperatorSetProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements OnnxOperatorsProto3.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 |
OnnxOperatorsProto3.OperatorSetProto.Builder
An OperatorSetProto represents an immutable set of immutable operator
specifications.
|
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 |
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 OnnxOperatorsProto3.OperatorSetProto |
getDefaultInstance() |
OnnxOperatorsProto3.OperatorSetProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDocString()
A human-readable documentation for this set of operators.
|
com.github.os72.protobuf351.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).
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.ByteString |
getMagicBytes()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate
protobuf files containing OperatorSets from other content.
|
OnnxOperatorsProto3.OperatorProto |
getOperator(int index)
The operators specified by this operator set.
|
int |
getOperatorCount()
The operators specified by this operator set.
|
List<OnnxOperatorsProto3.OperatorProto> |
getOperatorList()
The operators specified by this operator set.
|
OnnxOperatorsProto3.OperatorProtoOrBuilder |
getOperatorOrBuilder(int index)
The operators specified by this operator set.
|
List<? extends OnnxOperatorsProto3.OperatorProtoOrBuilder> |
getOperatorOrBuilderList()
The operators specified by this operator set.
|
long |
getOpsetVersion()
The version of the set of operators.
|
com.github.os72.protobuf351.Parser<OnnxOperatorsProto3.OperatorSetProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxOperatorsProto3.OperatorSetProto.Builder |
newBuilder() |
static OnnxOperatorsProto3.OperatorSetProto.Builder |
newBuilder(OnnxOperatorsProto3.OperatorSetProto prototype) |
OnnxOperatorsProto3.OperatorSetProto.Builder |
newBuilderForType() |
protected OnnxOperatorsProto3.OperatorSetProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OnnxOperatorsProto3.OperatorSetProto |
parseDelimitedFrom(InputStream input) |
static OnnxOperatorsProto3.OperatorSetProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(byte[] data) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(ByteBuffer data) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(InputStream input) |
static OnnxOperatorsProto3.OperatorSetProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OnnxOperatorsProto3.OperatorSetProto> |
parser() |
OnnxOperatorsProto3.OperatorSetProto.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, 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
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.github.os72.protobuf351.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxOperatorsProto3.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 OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic String getDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;getDomain in interface OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDomainBytes()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;getDomainBytes in interface OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic String getDocString()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;getDocString in interface OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic List<OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic List<? extends OnnxOperatorsProto3.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 OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic OnnxOperatorsProto3.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 OnnxOperatorsProto3.OperatorSetProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static OnnxOperatorsProto3.OperatorSetProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OnnxOperatorsProto3.OperatorSetProto.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static OnnxOperatorsProto3.OperatorSetProto.Builder newBuilder()
public static OnnxOperatorsProto3.OperatorSetProto.Builder newBuilder(OnnxOperatorsProto3.OperatorSetProto prototype)
public OnnxOperatorsProto3.OperatorSetProto.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected OnnxOperatorsProto3.OperatorSetProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static OnnxOperatorsProto3.OperatorSetProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OnnxOperatorsProto3.OperatorSetProto> parser()
public com.github.os72.protobuf351.Parser<OnnxOperatorsProto3.OperatorSetProto> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public OnnxOperatorsProto3.OperatorSetProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.