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.Builder
addAllFunctions(Iterable<? extends Onnx.FunctionProto> values)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addAllOperator(Iterable<? extends OnnxOperators.OperatorProto> values)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addFunctions(int index, Onnx.FunctionProto value)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addFunctions(int index, Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addFunctions(Onnx.FunctionProto value)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addFunctions(Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set.Onnx.FunctionProto.Builder
addFunctionsBuilder()
The functions specified by this operator set.Onnx.FunctionProto.Builder
addFunctionsBuilder(int index)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addOperator(int index, OnnxOperators.OperatorProto value)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addOperator(OnnxOperators.OperatorProto value)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addOperator(OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set.OnnxOperators.OperatorProto.Builder
addOperatorBuilder()
The operators specified by this operator set.OnnxOperators.OperatorProto.Builder
addOperatorBuilder(int index)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxOperators.OperatorSetProto
build()
OnnxOperators.OperatorSetProto
buildPartial()
OnnxOperators.OperatorSetProto.Builder
clear()
OnnxOperators.OperatorSetProto.Builder
clearDocString()
A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.Builder
clearDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).OnnxOperators.OperatorSetProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OnnxOperators.OperatorSetProto.Builder
clearFunctions()
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
clearIrBuildMetadata()
The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
clearIrVersion()
All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.OnnxOperators.OperatorSetProto.Builder
clearIrVersionPrerelease()
The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
clearMagic()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorSetProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OnnxOperators.OperatorSetProto.Builder
clearOperator()
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
clearOpsetVersion()
The version of the set of operators.OnnxOperators.OperatorSetProto.Builder
clone()
OnnxOperators.OperatorSetProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this set of operators.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this set of operators.String
getDomain()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).org.nd4j.shade.protobuf.ByteString
getDomainBytes()
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).Onnx.FunctionProto
getFunctions(int index)
The functions specified by this operator set.Onnx.FunctionProto.Builder
getFunctionsBuilder(int index)
The functions specified by this operator set.List<Onnx.FunctionProto.Builder>
getFunctionsBuilderList()
The functions specified by this operator set.int
getFunctionsCount()
The functions specified by this operator set.List<Onnx.FunctionProto>
getFunctionsList()
The functions specified by this operator set.Onnx.FunctionProtoOrBuilder
getFunctionsOrBuilder(int index)
The functions specified by this operator set.List<? extends Onnx.FunctionProtoOrBuilder>
getFunctionsOrBuilderList()
The functions specified by this operator set.String
getIrBuildMetadata()
The build metadata component of the SemVer of the IR.org.nd4j.shade.protobuf.ByteString
getIrBuildMetadataBytes()
The build metadata component of the SemVer of the IR.long
getIrVersion()
All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.String
getIrVersionPrerelease()
The prerelease component of the SemVer of the IR.org.nd4j.shade.protobuf.ByteString
getIrVersionPrereleaseBytes()
The prerelease component of the SemVer of the IR.String
getMagic()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.org.nd4j.shade.protobuf.ByteString
getMagicBytes()
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.OnnxOperators.OperatorProto
getOperator(int index)
The operators specified by this operator set.OnnxOperators.OperatorProto.Builder
getOperatorBuilder(int index)
The operators specified by this operator set.List<OnnxOperators.OperatorProto.Builder>
getOperatorBuilderList()
The operators specified by this operator set.int
getOperatorCount()
The operators specified by this operator set.List<OnnxOperators.OperatorProto>
getOperatorList()
The operators specified by this operator set.OnnxOperators.OperatorProtoOrBuilder
getOperatorOrBuilder(int index)
The operators specified by this operator set.List<? extends OnnxOperators.OperatorProtoOrBuilder>
getOperatorOrBuilderList()
The operators specified by this operator set.long
getOpsetVersion()
The version of the set of operators.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OnnxOperators.OperatorSetProto.Builder
mergeFrom(OnnxOperators.OperatorSetProto other)
OnnxOperators.OperatorSetProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OnnxOperators.OperatorSetProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OnnxOperators.OperatorSetProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxOperators.OperatorSetProto.Builder
removeFunctions(int index)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
removeOperator(int index)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
setDocString(String value)
A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this set of operators.OnnxOperators.OperatorSetProto.Builder
setDomain(String value)
Domain name of the operator set, in reverse DNS form (e.g., com.acme.dnnops).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).OnnxOperators.OperatorSetProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxOperators.OperatorSetProto.Builder
setFunctions(int index, Onnx.FunctionProto value)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
setFunctions(int index, Onnx.FunctionProto.Builder builderForValue)
The functions specified by this operator set.OnnxOperators.OperatorSetProto.Builder
setIrBuildMetadata(String value)
The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
setIrBuildMetadataBytes(org.nd4j.shade.protobuf.ByteString value)
The build metadata component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
setIrVersion(long value)
All OperatorSetProtos indicate the version of the IR syntax and semantics they adhere to.OnnxOperators.OperatorSetProto.Builder
setIrVersionPrerelease(String value)
The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
setIrVersionPrereleaseBytes(org.nd4j.shade.protobuf.ByteString value)
The prerelease component of the SemVer of the IR.OnnxOperators.OperatorSetProto.Builder
setMagic(String value)
All OperatorSetProtos start with a distingushed byte sequence to disambiguate protobuf files containing OperatorSets from other content.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.OnnxOperators.OperatorSetProto.Builder
setOperator(int index, OnnxOperators.OperatorProto value)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
setOperator(int index, OnnxOperators.OperatorProto.Builder builderForValue)
The operators specified by this operator set.OnnxOperators.OperatorSetProto.Builder
setOpsetVersion(long value)
The version of the set of operators.OnnxOperators.OperatorSetProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OnnxOperators.OperatorSetProto.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clear
public OnnxOperators.OperatorSetProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
getDefaultInstanceForType
public OnnxOperators.OperatorSetProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxOperators.OperatorSetProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxOperators.OperatorSetProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxOperators.OperatorSetProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clearField
public OnnxOperators.OperatorSetProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
clearOneof
public OnnxOperators.OperatorSetProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeFrom
public OnnxOperators.OperatorSetProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getMagic
in 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:
getMagicBytes
in 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:
getIrVersion
in 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:
getIrVersionPrerelease
in 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:
getIrVersionPrereleaseBytes
in 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:
getIrBuildMetadata
in 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:
getIrBuildMetadataBytes
in 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:
getDomain
in 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:
getDomainBytes
in 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:
getOpsetVersion
in 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:
getDocString
in 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:
getDocStringBytes
in 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:
getOperatorList
in 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:
getOperatorCount
in 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:
getOperator
in 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:
getOperatorOrBuilder
in 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:
getOperatorOrBuilderList
in 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:
getFunctionsList
in 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:
getFunctionsCount
in 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:
getFunctions
in 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:
getFunctionsOrBuilder
in 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:
getFunctionsOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
mergeUnknownFields
public final OnnxOperators.OperatorSetProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxOperators.OperatorSetProto.Builder>
-
-