public static final class OnnxOperators.OperatorProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder> 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 type onnx.OperatorProto| Modifier and Type | Method and Description |
|---|---|
OnnxOperators.OperatorProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxOperators.OperatorProto |
build() |
OnnxOperators.OperatorProto |
buildPartial() |
OnnxOperators.OperatorProto.Builder |
clear() |
OnnxOperators.OperatorProto.Builder |
clearDocString()
A human-readable documentation for this operator.
|
OnnxOperators.OperatorProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxOperators.OperatorProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxOperators.OperatorProto.Builder |
clearOpType()
The name of the operator within a domain.
|
OnnxOperators.OperatorProto.Builder |
clearSinceVersion()
The version of the operator set that first introduced this
operator.
|
OnnxOperators.OperatorProto.Builder |
clearStatus()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperators.OperatorProto.Builder |
clone() |
OnnxOperators.OperatorProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocString()
A human-readable documentation for this operator.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this operator.
|
String |
getOpType()
The name of the operator within a domain.
|
org.nd4j.shade.protobuf.ByteString |
getOpTypeBytes()
The name of the operator within a domain.
|
long |
getSinceVersion()
The version of the operator set that first introduced this
operator.
|
OnnxOperators.OperatorProto.OperatorStatus |
getStatus()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
int |
getStatusValue()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxOperators.OperatorProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxOperators.OperatorProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxOperators.OperatorProto.Builder |
mergeFrom(OnnxOperators.OperatorProto other) |
OnnxOperators.OperatorProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxOperators.OperatorProto.Builder |
setDocString(String value)
A human-readable documentation for this operator.
|
OnnxOperators.OperatorProto.Builder |
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this operator.
|
OnnxOperators.OperatorProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxOperators.OperatorProto.Builder |
setOpType(String value)
The name of the operator within a domain.
|
OnnxOperators.OperatorProto.Builder |
setOpTypeBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the operator within a domain.
|
OnnxOperators.OperatorProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxOperators.OperatorProto.Builder |
setSinceVersion(long value)
The version of the operator set that first introduced this
operator.
|
OnnxOperators.OperatorProto.Builder |
setStatus(OnnxOperators.OperatorProto.OperatorStatus value)
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperators.OperatorProto.Builder |
setStatusValue(int value)
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperators.OperatorProto.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic OnnxOperators.OperatorProto build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxOperators.OperatorProto buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxOperators.OperatorProto.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder mergeFrom(OnnxOperators.OperatorProto other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public OnnxOperators.OperatorProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxOperators.OperatorProto.Builder>IOExceptionpublic 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;getOpType in interface OnnxOperators.OperatorProtoOrBuilderpublic 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;getOpTypeBytes in interface OnnxOperators.OperatorProtoOrBuilderpublic OnnxOperators.OperatorProto.Builder setOpType(String value)
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;public OnnxOperators.OperatorProto.Builder clearOpType()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;public OnnxOperators.OperatorProto.Builder setOpTypeBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;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;getSinceVersion in interface OnnxOperators.OperatorProtoOrBuilderpublic OnnxOperators.OperatorProto.Builder setSinceVersion(long value)
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 OnnxOperators.OperatorProto.Builder clearSinceVersion()
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 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.OperatorProto.OperatorStatus status = 3;getStatusValue in interface OnnxOperators.OperatorProtoOrBuilderpublic OnnxOperators.OperatorProto.Builder setStatusValue(int value)
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 OnnxOperators.OperatorProto.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.OperatorProto.OperatorStatus status = 3;getStatus in interface OnnxOperators.OperatorProtoOrBuilderpublic OnnxOperators.OperatorProto.Builder setStatus(OnnxOperators.OperatorProto.OperatorStatus value)
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 OnnxOperators.OperatorProto.Builder clearStatus()
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 String getDocString()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;getDocString in interface OnnxOperators.OperatorProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;getDocStringBytes in interface OnnxOperators.OperatorProtoOrBuilderpublic OnnxOperators.OperatorProto.Builder setDocString(String value)
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public OnnxOperators.OperatorProto.Builder clearDocString()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public OnnxOperators.OperatorProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public final OnnxOperators.OperatorProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>public final OnnxOperators.OperatorProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorProto.Builder>Copyright © 2021. All rights reserved.