Package onnx
Class OnnxOperators.OperatorSetProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
- onnx.OnnxOperators.OperatorSetProto.Builder
-
- All Implemented Interfaces:
Cloneable,OnnxOperators.OperatorSetProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxOperators.OperatorSetProto
public static final class OnnxOperators.OperatorSetProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder> 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 typeonnx.OperatorSetProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxOperators.OperatorSetProto.BuilderaddAllFunctions(Iterable<? extends Onnx.FunctionProto> values)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddAllOperator(Iterable<? extends OnnxOperators.OperatorProto> values)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddFunctions(int index, Onnx.FunctionProto value)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddFunctions(int index, Onnx.FunctionProto.Builder builderForValue)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddFunctions(Onnx.FunctionProto value)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddFunctions(Onnx.FunctionProto.Builder builderForValue)The functions specified by this operator set.Onnx.FunctionProto.BuilderaddFunctionsBuilder()The functions specified by this operator set.Onnx.FunctionProto.BuilderaddFunctionsBuilder(int index)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddOperator(int index, OnnxOperators.OperatorProto value)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddOperator(OnnxOperators.OperatorProto value)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddOperator(OnnxOperators.OperatorProto.Builder builderForValue)The operators specified by this operator set.OnnxOperators.OperatorProto.BuilderaddOperatorBuilder()The operators specified by this operator set.OnnxOperators.OperatorProto.BuilderaddOperatorBuilder(int index)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxOperators.OperatorSetProtobuild()OnnxOperators.OperatorSetProtobuildPartial()OnnxOperators.OperatorSetProto.Builderclear()OnnxOperators.OperatorSetProto.BuilderclearDocString()A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.BuilderclearDomain()Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).OnnxOperators.OperatorSetProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)OnnxOperators.OperatorSetProto.BuilderclearFunctions()The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderclearIrBuildMetadata()The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuilderclearIrVersion()All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.OnnxOperators.OperatorSetProto.BuilderclearIrVersionPrerelease()The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuilderclearMagic()All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorSetProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)OnnxOperators.OperatorSetProto.BuilderclearOperator()The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuilderclearOpsetVersion()The version of the set of operators.OnnxOperators.OperatorSetProto.Builderclone()OnnxOperators.OperatorSetProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this set of operators.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this set of operators.StringgetDomain()Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).org.nd4j.shade.protobuf.ByteStringgetDomainBytes()Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).Onnx.FunctionProtogetFunctions(int index)The functions specified by this operator set.Onnx.FunctionProto.BuildergetFunctionsBuilder(int index)The functions specified by this operator set.List<Onnx.FunctionProto.Builder>getFunctionsBuilderList()The functions specified by this operator set.intgetFunctionsCount()The functions specified by this operator set.List<Onnx.FunctionProto>getFunctionsList()The functions specified by this operator set.Onnx.FunctionProtoOrBuildergetFunctionsOrBuilder(int index)The functions specified by this operator set.List<? extends Onnx.FunctionProtoOrBuilder>getFunctionsOrBuilderList()The functions specified by this operator set.StringgetIrBuildMetadata()The build metadata component of the SemVer of the IR.org.nd4j.shade.protobuf.ByteStringgetIrBuildMetadataBytes()The build metadata component of the SemVer of the IR.longgetIrVersion()All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.StringgetIrVersionPrerelease()The prerelease component of the SemVer of the IR.org.nd4j.shade.protobuf.ByteStringgetIrVersionPrereleaseBytes()The prerelease component of the SemVer of the IR.StringgetMagic()All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.org.nd4j.shade.protobuf.ByteStringgetMagicBytes()All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorProtogetOperator(int index)The operators specified by this operator set.OnnxOperators.OperatorProto.BuildergetOperatorBuilder(int index)The operators specified by this operator set.List<OnnxOperators.OperatorProto.Builder>getOperatorBuilderList()The operators specified by this operator set.intgetOperatorCount()The operators specified by this operator set.List<OnnxOperators.OperatorProto>getOperatorList()The operators specified by this operator set.OnnxOperators.OperatorProtoOrBuildergetOperatorOrBuilder(int index)The operators specified by this operator set.List<? extends OnnxOperators.OperatorProtoOrBuilder>getOperatorOrBuilderList()The operators specified by this operator set.longgetOpsetVersion()The version of the set of operators.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OnnxOperators.OperatorSetProto.BuildermergeFrom(OnnxOperators.OperatorSetProto other)OnnxOperators.OperatorSetProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)OnnxOperators.OperatorSetProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)OnnxOperators.OperatorSetProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxOperators.OperatorSetProto.BuilderremoveFunctions(int index)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuilderremoveOperator(int index)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuildersetDocString(String value)A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.BuildersetDomain(String value)Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).OnnxOperators.OperatorSetProto.BuildersetDomainBytes(org.nd4j.shade.protobuf.ByteString value)Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).OnnxOperators.OperatorSetProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxOperators.OperatorSetProto.BuildersetFunctions(int index, Onnx.FunctionProto value)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuildersetFunctions(int index, Onnx.FunctionProto.Builder builderForValue)The functions specified by this operator set.OnnxOperators.OperatorSetProto.BuildersetIrBuildMetadata(String value)The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuildersetIrBuildMetadataBytes(org.nd4j.shade.protobuf.ByteString value)The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuildersetIrVersion(long value)All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.OnnxOperators.OperatorSetProto.BuildersetIrVersionPrerelease(String value)The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuildersetIrVersionPrereleaseBytes(org.nd4j.shade.protobuf.ByteString value)The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.BuildersetMagic(String value)All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorSetProto.BuildersetMagicBytes(org.nd4j.shade.protobuf.ByteString value)All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorSetProto.BuildersetOperator(int index, OnnxOperators.OperatorProto value)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuildersetOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)The operators specified by this operator set.OnnxOperators.OperatorSetProto.BuildersetOpsetVersion(long value)The version of the set of operators.OnnxOperators.OperatorSetProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OnnxOperators.OperatorSetProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clear
public OnnxOperators.OperatorSetProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
getDefaultInstanceForType
public OnnxOperators.OperatorSetProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxOperators.OperatorSetProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxOperators.OperatorSetProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxOperators.OperatorSetProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
setField
public OnnxOperators.OperatorSetProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clearField
public OnnxOperators.OperatorSetProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clearOneof
public OnnxOperators.OperatorSetProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
setRepeatedField
public OnnxOperators.OperatorSetProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
addRepeatedField
public OnnxOperators.OperatorSetProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeFrom
public OnnxOperators.OperatorSetProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeFrom
public OnnxOperators.OperatorSetProto.Builder mergeFrom(OnnxOperators.OperatorSetProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeFrom
public OnnxOperators.OperatorSetProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxOperators.OperatorSetProto.Builder>- Throws:
IOException
-
getMagic
public 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;- Specified by:
getMagicin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The magic.
-
getMagicBytes
public 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;- Specified by:
getMagicBytesin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The bytes for magic.
-
setMagic
public OnnxOperators.OperatorSetProto.Builder setMagic(String value)
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;- Parameters:
value- The magic to set.- Returns:
- This builder for chaining.
-
clearMagic
public OnnxOperators.OperatorSetProto.Builder clearMagic()
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;- Returns:
- This builder for chaining.
-
setMagicBytes
public OnnxOperators.OperatorSetProto.Builder setMagicBytes(org.nd4j.shade.protobuf.ByteString value)
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;- Parameters:
value- The bytes for magic to set.- Returns:
- This builder for chaining.
-
getIrVersion
public long 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
int64 ir_version = 2;- Specified by:
getIrVersionin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The irVersion.
-
setIrVersion
public OnnxOperators.OperatorSetProto.Builder setIrVersion(long value)
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
int64 ir_version = 2;- Parameters:
value- The irVersion to set.- Returns:
- This builder for chaining.
-
clearIrVersion
public OnnxOperators.OperatorSetProto.Builder clearIrVersion()
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
int64 ir_version = 2;- Returns:
- This builder for chaining.
-
getIrVersionPrerelease
public 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;- Specified by:
getIrVersionPrereleasein interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The irVersionPrerelease.
-
getIrVersionPrereleaseBytes
public 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;- Specified by:
getIrVersionPrereleaseBytesin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The bytes for irVersionPrerelease.
-
setIrVersionPrerelease
public OnnxOperators.OperatorSetProto.Builder setIrVersionPrerelease(String value)
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;- Parameters:
value- The irVersionPrerelease to set.- Returns:
- This builder for chaining.
-
clearIrVersionPrerelease
public OnnxOperators.OperatorSetProto.Builder clearIrVersionPrerelease()
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;- Returns:
- This builder for chaining.
-
setIrVersionPrereleaseBytes
public OnnxOperators.OperatorSetProto.Builder setIrVersionPrereleaseBytes(org.nd4j.shade.protobuf.ByteString value)
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;- Parameters:
value- The bytes for irVersionPrerelease to set.- Returns:
- This builder for chaining.
-
getIrBuildMetadata
public 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;- Specified by:
getIrBuildMetadatain interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The irBuildMetadata.
-
getIrBuildMetadataBytes
public 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;- Specified by:
getIrBuildMetadataBytesin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The bytes for irBuildMetadata.
-
setIrBuildMetadata
public OnnxOperators.OperatorSetProto.Builder setIrBuildMetadata(String value)
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;- Parameters:
value- The irBuildMetadata to set.- Returns:
- This builder for chaining.
-
clearIrBuildMetadata
public OnnxOperators.OperatorSetProto.Builder clearIrBuildMetadata()
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;- Returns:
- This builder for chaining.
-
setIrBuildMetadataBytes
public OnnxOperators.OperatorSetProto.Builder setIrBuildMetadataBytes(org.nd4j.shade.protobuf.ByteString value)
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;- Parameters:
value- The bytes for irBuildMetadata to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;- Specified by:
getDomainin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The domain.
-
getDomainBytes
public org.nd4j.shade.protobuf.ByteString getDomainBytes()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;- Specified by:
getDomainBytesin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public OnnxOperators.OperatorSetProto.Builder setDomain(String value)
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public OnnxOperators.OperatorSetProto.Builder clearDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;- Returns:
- This builder for chaining.
-
setDomainBytes
public OnnxOperators.OperatorSetProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).
string domain = 4;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getOpsetVersion
public long getOpsetVersion()
The version of the set of operators. This is a simple int value that is monotonically increasing as new versions of the operator set are published. All operators in this set MUST have since_version <= opset_version.
int64 opset_version = 5;- Specified by:
getOpsetVersionin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The opsetVersion.
-
setOpsetVersion
public OnnxOperators.OperatorSetProto.Builder setOpsetVersion(long value)
The version of the set of operators. This is a simple int value that is monotonically increasing as new versions of the operator set are published. All operators in this set MUST have since_version <= opset_version.
int64 opset_version = 5;- Parameters:
value- The opsetVersion to set.- Returns:
- This builder for chaining.
-
clearOpsetVersion
public OnnxOperators.OperatorSetProto.Builder clearOpsetVersion()
The version of the set of operators. This is a simple int value that is monotonically increasing as new versions of the operator set are published. All operators in this set MUST have since_version <= opset_version.
int64 opset_version = 5;- Returns:
- This builder for chaining.
-
getDocString
public String getDocString()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;- Specified by:
getDocStringin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;- Specified by:
getDocStringBytesin interfaceOnnxOperators.OperatorSetProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public OnnxOperators.OperatorSetProto.Builder setDocString(String value)
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public OnnxOperators.OperatorSetProto.Builder clearDocString()
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxOperators.OperatorSetProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this set of operators. Markdown is allowed.
string doc_string = 6;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getOperatorList
public 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;- Specified by:
getOperatorListin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getOperatorCount
public 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;- Specified by:
getOperatorCountin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getOperator
public 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;- Specified by:
getOperatorin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
setOperator
public OnnxOperators.OperatorSetProto.Builder setOperator(int index, OnnxOperators.OperatorProto value)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
setOperator
public OnnxOperators.OperatorSetProto.Builder setOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addOperator
public OnnxOperators.OperatorSetProto.Builder addOperator(OnnxOperators.OperatorProto value)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addOperator
public OnnxOperators.OperatorSetProto.Builder addOperator(int index, OnnxOperators.OperatorProto value)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addOperator
public OnnxOperators.OperatorSetProto.Builder addOperator(OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addOperator
public OnnxOperators.OperatorSetProto.Builder addOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addAllOperator
public OnnxOperators.OperatorSetProto.Builder addAllOperator(Iterable<? extends OnnxOperators.OperatorProto> values)
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
clearOperator
public OnnxOperators.OperatorSetProto.Builder clearOperator()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
removeOperator
public OnnxOperators.OperatorSetProto.Builder removeOperator(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;
-
getOperatorBuilder
public OnnxOperators.OperatorProto.Builder getOperatorBuilder(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
public 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;- Specified by:
getOperatorOrBuilderin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getOperatorOrBuilderList
public 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;- Specified by:
getOperatorOrBuilderListin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
addOperatorBuilder
public OnnxOperators.OperatorProto.Builder addOperatorBuilder()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
addOperatorBuilder
public OnnxOperators.OperatorProto.Builder addOperatorBuilder(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;
-
getOperatorBuilderList
public List<OnnxOperators.OperatorProto.Builder> getOperatorBuilderList()
The operators specified by this operator set. The (name, version) MUST be unique across all OperatorProtos in operator
repeated .onnx.OperatorProto operator = 8;
-
getFunctionsList
public List<Onnx.FunctionProto> getFunctionsList()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;- Specified by:
getFunctionsListin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getFunctionsCount
public int getFunctionsCount()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;- Specified by:
getFunctionsCountin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getFunctions
public Onnx.FunctionProto getFunctions(int index)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;- Specified by:
getFunctionsin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
setFunctions
public OnnxOperators.OperatorSetProto.Builder setFunctions(int index, Onnx.FunctionProto value)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
setFunctions
public OnnxOperators.OperatorSetProto.Builder setFunctions(int index, Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addFunctions
public OnnxOperators.OperatorSetProto.Builder addFunctions(Onnx.FunctionProto value)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addFunctions
public OnnxOperators.OperatorSetProto.Builder addFunctions(int index, Onnx.FunctionProto value)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addFunctions
public OnnxOperators.OperatorSetProto.Builder addFunctions(Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addFunctions
public OnnxOperators.OperatorSetProto.Builder addFunctions(int index, Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addAllFunctions
public OnnxOperators.OperatorSetProto.Builder addAllFunctions(Iterable<? extends Onnx.FunctionProto> values)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
clearFunctions
public OnnxOperators.OperatorSetProto.Builder clearFunctions()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
removeFunctions
public OnnxOperators.OperatorSetProto.Builder removeFunctions(int index)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
getFunctionsBuilder
public Onnx.FunctionProto.Builder getFunctionsBuilder(int index)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
getFunctionsOrBuilder
public Onnx.FunctionProtoOrBuilder getFunctionsOrBuilder(int index)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;- Specified by:
getFunctionsOrBuilderin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
getFunctionsOrBuilderList
public List<? extends Onnx.FunctionProtoOrBuilder> getFunctionsOrBuilderList()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;- Specified by:
getFunctionsOrBuilderListin interfaceOnnxOperators.OperatorSetProtoOrBuilder
-
addFunctionsBuilder
public Onnx.FunctionProto.Builder addFunctionsBuilder()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
addFunctionsBuilder
public Onnx.FunctionProto.Builder addFunctionsBuilder(int index)
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
getFunctionsBuilderList
public List<Onnx.FunctionProto.Builder> getFunctionsBuilderList()
The functions specified by this operator set. The (name, version) MUST be unique across all OperatorProtos/FunctionProtos in operator/functions
repeated .onnx.FunctionProto functions = 9;
-
setUnknownFields
public final OnnxOperators.OperatorSetProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeUnknownFields
public final OnnxOperators.OperatorSetProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
-