Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* 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.
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
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.
*
* 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 type {@code onnx.OperatorProto}
*/
public static final class OperatorProto extends
com.github.os72.protobuf351.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:onnx.OperatorProto)
OperatorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use OperatorProto.newBuilder() to construct.
private OperatorProto(com.github.os72.protobuf351.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OperatorProto() {
opType_ = "";
sinceVersion_ = 0L;
status_ = 0;
docString_ = "";
}
@java.lang.Override
public final com.github.os72.protobuf351.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OperatorProto(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.github.os72.protobuf351.UnknownFieldSet.Builder unknownFields =
com.github.os72.protobuf351.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
opType_ = s;
break;
}
case 16: {
sinceVersion_ = input.readInt64();
break;
}
case 24: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
docString_ = s;
break;
}
}
}
} catch (com.github.os72.protobuf351.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.github.os72.protobuf351.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.github.os72.protobuf351.Descriptors.Descriptor
getDescriptor() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorProto_descriptor;
}
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
onnx.OnnxOperatorsProto3.OperatorProto.class, onnx.OnnxOperatorsProto3.OperatorProto.Builder.class);
}
/**
* Protobuf enum {@code onnx.OperatorProto.OperatorStatus}
*/
public enum OperatorStatus
implements com.github.os72.protobuf351.ProtocolMessageEnum {
/**
* EXPERIMENTAL = 0;
*/
EXPERIMENTAL(0),
/**
* STABLE = 1;
*/
STABLE(1),
UNRECOGNIZED(-1),
;
/**
* EXPERIMENTAL = 0;
*/
public static final int EXPERIMENTAL_VALUE = 0;
/**
* STABLE = 1;
*/
public static final int STABLE_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OperatorStatus valueOf(int value) {
return forNumber(value);
}
public static OperatorStatus forNumber(int value) {
switch (value) {
case 0: return EXPERIMENTAL;
case 1: return STABLE;
default: return null;
}
}
public static com.github.os72.protobuf351.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.github.os72.protobuf351.Internal.EnumLiteMap<
OperatorStatus> internalValueMap =
new com.github.os72.protobuf351.Internal.EnumLiteMap() {
public OperatorStatus findValueByNumber(int number) {
return OperatorStatus.forNumber(number);
}
};
public final com.github.os72.protobuf351.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.github.os72.protobuf351.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.github.os72.protobuf351.Descriptors.EnumDescriptor
getDescriptor() {
return onnx.OnnxOperatorsProto3.OperatorProto.getDescriptor().getEnumTypes().get(0);
}
private static final OperatorStatus[] VALUES = values();
public static OperatorStatus valueOf(
com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private OperatorStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:onnx.OperatorProto.OperatorStatus)
}
public static final int OP_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object opType_;
/**
*
* The name of the operator within a domain.
* This field MUST be present in this version of the IR.
*
* The name of the operator within a domain.
* This field MUST be present in this version of the IR.
*
*
* string op_type = 1;
*/
public com.github.os72.protobuf351.ByteString
getOpTypeBytes() {
java.lang.Object ref = opType_;
if (ref instanceof java.lang.String) {
com.github.os72.protobuf351.ByteString b =
com.github.os72.protobuf351.ByteString.copyFromUtf8(
(java.lang.String) ref);
opType_ = b;
return b;
} else {
return (com.github.os72.protobuf351.ByteString) ref;
}
}
public static final int SINCE_VERSION_FIELD_NUMBER = 2;
private long sinceVersion_;
/**
*
* 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;
*/
public long getSinceVersion() {
return sinceVersion_;
}
public static final int STATUS_FIELD_NUMBER = 3;
private int status_;
/**
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
public int getStatusValue() {
return status_;
}
/**
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
public onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus getStatus() {
onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus result = onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.valueOf(status_);
return result == null ? onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.UNRECOGNIZED : result;
}
public static final int DOC_STRING_FIELD_NUMBER = 10;
private volatile java.lang.Object docString_;
/**
*
* A human-readable documentation for this operator. Markdown is allowed.
*
* A human-readable documentation for this operator. Markdown is allowed.
*
*
* string doc_string = 10;
*/
public com.github.os72.protobuf351.ByteString
getDocStringBytes() {
java.lang.Object ref = docString_;
if (ref instanceof java.lang.String) {
com.github.os72.protobuf351.ByteString b =
com.github.os72.protobuf351.ByteString.copyFromUtf8(
(java.lang.String) ref);
docString_ = b;
return b;
} else {
return (com.github.os72.protobuf351.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws java.io.IOException {
if (!getOpTypeBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 1, opType_);
}
if (sinceVersion_ != 0L) {
output.writeInt64(2, sinceVersion_);
}
if (status_ != onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.EXPERIMENTAL.getNumber()) {
output.writeEnum(3, status_);
}
if (!getDocStringBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 10, docString_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getOpTypeBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(1, opType_);
}
if (sinceVersion_ != 0L) {
size += com.github.os72.protobuf351.CodedOutputStream
.computeInt64Size(2, sinceVersion_);
}
if (status_ != onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.EXPERIMENTAL.getNumber()) {
size += com.github.os72.protobuf351.CodedOutputStream
.computeEnumSize(3, status_);
}
if (!getDocStringBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(10, docString_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof onnx.OnnxOperatorsProto3.OperatorProto)) {
return super.equals(obj);
}
onnx.OnnxOperatorsProto3.OperatorProto other = (onnx.OnnxOperatorsProto3.OperatorProto) obj;
boolean result = true;
result = result && getOpType()
.equals(other.getOpType());
result = result && (getSinceVersion()
== other.getSinceVersion());
result = result && status_ == other.status_;
result = result && getDocString()
.equals(other.getDocString());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getOpType().hashCode();
hash = (37 * hash) + SINCE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.github.os72.protobuf351.Internal.hashLong(
getSinceVersion());
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + DOC_STRING_FIELD_NUMBER;
hash = (53 * hash) + getDocString().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
java.nio.ByteBuffer data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
java.nio.ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
com.github.os72.protobuf351.ByteString data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(byte[] data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
java.io.InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseDelimitedFrom(
java.io.InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
com.github.os72.protobuf351.CodedInputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorProto parseFrom(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(onnx.OnnxOperatorsProto3.OperatorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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 type {@code onnx.OperatorProto}
*/
public static final class Builder extends
com.github.os72.protobuf351.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:onnx.OperatorProto)
onnx.OnnxOperatorsProto3.OperatorProtoOrBuilder {
public static final com.github.os72.protobuf351.Descriptors.Descriptor
getDescriptor() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorProto_descriptor;
}
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
onnx.OnnxOperatorsProto3.OperatorProto.class, onnx.OnnxOperatorsProto3.OperatorProto.Builder.class);
}
// Construct using onnx.OnnxOperatorsProto3.OperatorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.github.os72.protobuf351.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
opType_ = "";
sinceVersion_ = 0L;
status_ = 0;
docString_ = "";
return this;
}
public com.github.os72.protobuf351.Descriptors.Descriptor
getDescriptorForType() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorProto_descriptor;
}
public onnx.OnnxOperatorsProto3.OperatorProto getDefaultInstanceForType() {
return onnx.OnnxOperatorsProto3.OperatorProto.getDefaultInstance();
}
public onnx.OnnxOperatorsProto3.OperatorProto build() {
onnx.OnnxOperatorsProto3.OperatorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public onnx.OnnxOperatorsProto3.OperatorProto buildPartial() {
onnx.OnnxOperatorsProto3.OperatorProto result = new onnx.OnnxOperatorsProto3.OperatorProto(this);
result.opType_ = opType_;
result.sinceVersion_ = sinceVersion_;
result.status_ = status_;
result.docString_ = docString_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.github.os72.protobuf351.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.github.os72.protobuf351.Message other) {
if (other instanceof onnx.OnnxOperatorsProto3.OperatorProto) {
return mergeFrom((onnx.OnnxOperatorsProto3.OperatorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(onnx.OnnxOperatorsProto3.OperatorProto other) {
if (other == onnx.OnnxOperatorsProto3.OperatorProto.getDefaultInstance()) return this;
if (!other.getOpType().isEmpty()) {
opType_ = other.opType_;
onChanged();
}
if (other.getSinceVersion() != 0L) {
setSinceVersion(other.getSinceVersion());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (!other.getDocString().isEmpty()) {
docString_ = other.docString_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
onnx.OnnxOperatorsProto3.OperatorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.github.os72.protobuf351.InvalidProtocolBufferException e) {
parsedMessage = (onnx.OnnxOperatorsProto3.OperatorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object opType_ = "";
/**
*
* The name of the operator within a domain.
* This field MUST be present in this version of the IR.
*
* The name of the operator within a domain.
* This field MUST be present in this version of the IR.
*
*
* string op_type = 1;
*/
public Builder setOpTypeBytes(
com.github.os72.protobuf351.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
opType_ = value;
onChanged();
return this;
}
private long sinceVersion_ ;
/**
*
* 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;
*/
public long getSinceVersion() {
return sinceVersion_;
}
/**
*
* 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.
*
* 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.
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
public int getStatusValue() {
return status_;
}
/**
*
* 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.
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
public onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus getStatus() {
onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus result = onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.valueOf(status_);
return result == null ? onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus.UNRECOGNIZED : result;
}
/**
*
* 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.OperatorProto.OperatorStatus status = 3;
*/
public Builder setStatus(onnx.OnnxOperatorsProto3.OperatorProto.OperatorStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* 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.
*
* A human-readable documentation for this operator. Markdown is allowed.
*
*
* string doc_string = 10;
*/
public Builder setDocStringBytes(
com.github.os72.protobuf351.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
docString_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.github.os72.protobuf351.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.github.os72.protobuf351.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:onnx.OperatorProto)
}
// @@protoc_insertion_point(class_scope:onnx.OperatorProto)
private static final onnx.OnnxOperatorsProto3.OperatorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new onnx.OnnxOperatorsProto3.OperatorProto();
}
public static onnx.OnnxOperatorsProto3.OperatorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.github.os72.protobuf351.Parser
PARSER = new com.github.os72.protobuf351.AbstractParser() {
public OperatorProto parsePartialFrom(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return new OperatorProto(input, extensionRegistry);
}
};
public static com.github.os72.protobuf351.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.github.os72.protobuf351.Parser getParserForType() {
return PARSER;
}
public onnx.OnnxOperatorsProto3.OperatorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OperatorSetProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:onnx.OperatorSetProto)
com.github.os72.protobuf351.MessageOrBuilder {
/**
*
* 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
*
* 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
*
* 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
*
* 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.
*
* 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 {@code onnx.OperatorSetProto}
*/
public static final class OperatorSetProto extends
com.github.os72.protobuf351.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:onnx.OperatorSetProto)
OperatorSetProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use OperatorSetProto.newBuilder() to construct.
private OperatorSetProto(com.github.os72.protobuf351.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OperatorSetProto() {
magic_ = "";
irVersion_ = 0;
irVersionPrerelease_ = "";
irBuildMetadata_ = "";
domain_ = "";
opsetVersion_ = 0L;
docString_ = "";
operator_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.github.os72.protobuf351.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OperatorSetProto(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.github.os72.protobuf351.UnknownFieldSet.Builder unknownFields =
com.github.os72.protobuf351.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
magic_ = s;
break;
}
case 16: {
irVersion_ = input.readInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
irVersionPrerelease_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
domain_ = s;
break;
}
case 40: {
opsetVersion_ = input.readInt64();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
docString_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
irBuildMetadata_ = s;
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
operator_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
operator_.add(
input.readMessage(onnx.OnnxOperatorsProto3.OperatorProto.parser(), extensionRegistry));
break;
}
}
}
} catch (com.github.os72.protobuf351.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.github.os72.protobuf351.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
operator_ = java.util.Collections.unmodifiableList(operator_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.github.os72.protobuf351.Descriptors.Descriptor
getDescriptor() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorSetProto_descriptor;
}
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return onnx.OnnxOperatorsProto3.internal_static_onnx_OperatorSetProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
onnx.OnnxOperatorsProto3.OperatorSetProto.class, onnx.OnnxOperatorsProto3.OperatorSetProto.Builder.class);
}
private int bitField0_;
public static final int MAGIC_FIELD_NUMBER = 1;
private volatile java.lang.Object magic_;
/**
*
* 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
*
* 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;
*/
public com.github.os72.protobuf351.ByteString
getMagicBytes() {
java.lang.Object ref = magic_;
if (ref instanceof java.lang.String) {
com.github.os72.protobuf351.ByteString b =
com.github.os72.protobuf351.ByteString.copyFromUtf8(
(java.lang.String) ref);
magic_ = b;
return b;
} else {
return (com.github.os72.protobuf351.ByteString) ref;
}
}
public static final int IR_VERSION_FIELD_NUMBER = 2;
private int irVersion_;
/**
*
* 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;
*/
public int getIrVersion() {
return irVersion_;
}
public static final int IR_VERSION_PRERELEASE_FIELD_NUMBER = 3;
private volatile java.lang.Object irVersionPrerelease_;
/**
*
* The prerelease component of the SemVer of the IR.
* This field MAY be absent in this version of the IR
*
* Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
*
*
* string domain = 4;
*/
public com.github.os72.protobuf351.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.github.os72.protobuf351.ByteString b =
com.github.os72.protobuf351.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.github.os72.protobuf351.ByteString) ref;
}
}
public static final int OPSET_VERSION_FIELD_NUMBER = 5;
private long opsetVersion_;
/**
*
* 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;
*/
public long getOpsetVersion() {
return opsetVersion_;
}
public static final int DOC_STRING_FIELD_NUMBER = 6;
private volatile java.lang.Object docString_;
/**
*
* A human-readable documentation for this set of operators. Markdown is allowed.
*
* The operators specified by this operator set.
* The (name, version) MUST be unique across all OperatorProtos in operator
*
*
* repeated .onnx.OperatorProto operator = 8;
*/
public onnx.OnnxOperatorsProto3.OperatorProtoOrBuilder getOperatorOrBuilder(
int index) {
return operator_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws java.io.IOException {
if (!getMagicBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 1, magic_);
}
if (irVersion_ != 0) {
output.writeInt32(2, irVersion_);
}
if (!getIrVersionPrereleaseBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 3, irVersionPrerelease_);
}
if (!getDomainBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 4, domain_);
}
if (opsetVersion_ != 0L) {
output.writeInt64(5, opsetVersion_);
}
if (!getDocStringBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 6, docString_);
}
if (!getIrBuildMetadataBytes().isEmpty()) {
com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 7, irBuildMetadata_);
}
for (int i = 0; i < operator_.size(); i++) {
output.writeMessage(8, operator_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getMagicBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(1, magic_);
}
if (irVersion_ != 0) {
size += com.github.os72.protobuf351.CodedOutputStream
.computeInt32Size(2, irVersion_);
}
if (!getIrVersionPrereleaseBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(3, irVersionPrerelease_);
}
if (!getDomainBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(4, domain_);
}
if (opsetVersion_ != 0L) {
size += com.github.os72.protobuf351.CodedOutputStream
.computeInt64Size(5, opsetVersion_);
}
if (!getDocStringBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(6, docString_);
}
if (!getIrBuildMetadataBytes().isEmpty()) {
size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(7, irBuildMetadata_);
}
for (int i = 0; i < operator_.size(); i++) {
size += com.github.os72.protobuf351.CodedOutputStream
.computeMessageSize(8, operator_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof onnx.OnnxOperatorsProto3.OperatorSetProto)) {
return super.equals(obj);
}
onnx.OnnxOperatorsProto3.OperatorSetProto other = (onnx.OnnxOperatorsProto3.OperatorSetProto) obj;
boolean result = true;
result = result && getMagic()
.equals(other.getMagic());
result = result && (getIrVersion()
== other.getIrVersion());
result = result && getIrVersionPrerelease()
.equals(other.getIrVersionPrerelease());
result = result && getIrBuildMetadata()
.equals(other.getIrBuildMetadata());
result = result && getDomain()
.equals(other.getDomain());
result = result && (getOpsetVersion()
== other.getOpsetVersion());
result = result && getDocString()
.equals(other.getDocString());
result = result && getOperatorList()
.equals(other.getOperatorList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MAGIC_FIELD_NUMBER;
hash = (53 * hash) + getMagic().hashCode();
hash = (37 * hash) + IR_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getIrVersion();
hash = (37 * hash) + IR_VERSION_PRERELEASE_FIELD_NUMBER;
hash = (53 * hash) + getIrVersionPrerelease().hashCode();
hash = (37 * hash) + IR_BUILD_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getIrBuildMetadata().hashCode();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (37 * hash) + OPSET_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.github.os72.protobuf351.Internal.hashLong(
getOpsetVersion());
hash = (37 * hash) + DOC_STRING_FIELD_NUMBER;
hash = (53 * hash) + getDocString().hashCode();
if (getOperatorCount() > 0) {
hash = (37 * hash) + OPERATOR_FIELD_NUMBER;
hash = (53 * hash) + getOperatorList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
java.nio.ByteBuffer data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
java.nio.ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
com.github.os72.protobuf351.ByteString data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(byte[] data)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws com.github.os72.protobuf351.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
java.io.InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseDelimitedFrom(
java.io.InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
com.github.os72.protobuf351.CodedInputStream input)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static onnx.OnnxOperatorsProto3.OperatorSetProto parseFrom(
com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.github.os72.protobuf351.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(onnx.OnnxOperatorsProto3.OperatorSetProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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.
*
* 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
*
* 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
*
* 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
*
* 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
*
* 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;
*/
public Builder setMagicBytes(
com.github.os72.protobuf351.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
magic_ = value;
onChanged();
return this;
}
private int irVersion_ ;
/**
*
* 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;
*/
public int getIrVersion() {
return irVersion_;
}
/**
*
* 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
*
* 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
*
* Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
*
*
* string domain = 4;
*/
public Builder setDomainBytes(
com.github.os72.protobuf351.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domain_ = value;
onChanged();
return this;
}
private long opsetVersion_ ;
/**
*
* 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;
*/
public long getOpsetVersion() {
return opsetVersion_;
}
/**
*
* 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.
*
* 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.
*