Package onnx
Class OnnxMl.ModelProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
-
- onnx.OnnxMl.ModelProto.Builder
-
- All Implemented Interfaces:
Cloneable
,OnnxMl.ModelProtoOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxMl.ModelProto
public static final class OnnxMl.ModelProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder> implements OnnxMl.ModelProtoOrBuilder
Models ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata. The semantics of the model are described by the associated GraphProto's.
Protobuf typeonnx.ModelProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.ModelProto.Builder
addAllFunctions(Iterable<? extends OnnxMl.FunctionProto> values)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
addAllMetadataProps(Iterable<? extends OnnxMl.StringStringEntryProto> values)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
addAllTrainingInfo(Iterable<? extends OnnxMl.TrainingInfoProto> values)
Training-specific information.OnnxMl.ModelProto.Builder
addFunctions(int index, OnnxMl.FunctionProto value)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
addFunctions(int index, OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
addFunctions(OnnxMl.FunctionProto value)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
addFunctions(OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model.OnnxMl.FunctionProto.Builder
addFunctionsBuilder()
A list of function protos local to the model.OnnxMl.FunctionProto.Builder
addFunctionsBuilder(int index)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
addMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
addMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
addMetadataProps(OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
addMetadataProps(OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.OnnxMl.StringStringEntryProto.Builder
addMetadataPropsBuilder()
Named metadata values; keys should be distinct.OnnxMl.StringStringEntryProto.Builder
addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
addOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
addOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
addOpsetImport(OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.OnnxMl.OperatorSetIdProto.Builder
addOpsetImportBuilder()
The OperatorSets this model relies on.OnnxMl.OperatorSetIdProto.Builder
addOpsetImportBuilder(int index)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.ModelProto.Builder
addTrainingInfo(int index, OnnxMl.TrainingInfoProto value)
Training-specific information.OnnxMl.ModelProto.Builder
addTrainingInfo(int index, OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information.OnnxMl.ModelProto.Builder
addTrainingInfo(OnnxMl.TrainingInfoProto value)
Training-specific information.OnnxMl.ModelProto.Builder
addTrainingInfo(OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information.OnnxMl.TrainingInfoProto.Builder
addTrainingInfoBuilder()
Training-specific information.OnnxMl.TrainingInfoProto.Builder
addTrainingInfoBuilder(int index)
Training-specific information.OnnxMl.ModelProto
build()
OnnxMl.ModelProto
buildPartial()
OnnxMl.ModelProto.Builder
clear()
OnnxMl.ModelProto.Builder
clearDocString()
A human-readable documentation for this model.OnnxMl.ModelProto.Builder
clearDomain()
Domain name of the model.OnnxMl.ModelProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OnnxMl.ModelProto.Builder
clearFunctions()
A list of function protos local to the model.OnnxMl.ModelProto.Builder
clearGraph()
The parameterized graph that is evaluated to execute the model.OnnxMl.ModelProto.Builder
clearIrVersion()
The version of the IR this model targets.OnnxMl.ModelProto.Builder
clearMetadataProps()
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
clearModelVersion()
The version of the graph encoded.OnnxMl.ModelProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OnnxMl.ModelProto.Builder
clearOpsetImport()
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
clearProducerName()
The name of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
clearProducerVersion()
The version of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
clearTrainingInfo()
Training-specific information.OnnxMl.ModelProto.Builder
clone()
OnnxMl.ModelProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this model.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this model.String
getDomain()
Domain name of the model.org.nd4j.shade.protobuf.ByteString
getDomainBytes()
Domain name of the model.OnnxMl.FunctionProto
getFunctions(int index)
A list of function protos local to the model.OnnxMl.FunctionProto.Builder
getFunctionsBuilder(int index)
A list of function protos local to the model.List<OnnxMl.FunctionProto.Builder>
getFunctionsBuilderList()
A list of function protos local to the model.int
getFunctionsCount()
A list of function protos local to the model.List<OnnxMl.FunctionProto>
getFunctionsList()
A list of function protos local to the model.OnnxMl.FunctionProtoOrBuilder
getFunctionsOrBuilder(int index)
A list of function protos local to the model.List<? extends OnnxMl.FunctionProtoOrBuilder>
getFunctionsOrBuilderList()
A list of function protos local to the model.OnnxMl.GraphProto
getGraph()
The parameterized graph that is evaluated to execute the model.OnnxMl.GraphProto.Builder
getGraphBuilder()
The parameterized graph that is evaluated to execute the model.OnnxMl.GraphProtoOrBuilder
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.long
getIrVersion()
The version of the IR this model targets.OnnxMl.StringStringEntryProto
getMetadataProps(int index)
Named metadata values; keys should be distinct.OnnxMl.StringStringEntryProto.Builder
getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.List<OnnxMl.StringStringEntryProto.Builder>
getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.int
getMetadataPropsCount()
Named metadata values; keys should be distinct.List<OnnxMl.StringStringEntryProto>
getMetadataPropsList()
Named metadata values; keys should be distinct.OnnxMl.StringStringEntryProtoOrBuilder
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.List<? extends OnnxMl.StringStringEntryProtoOrBuilder>
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.long
getModelVersion()
The version of the graph encoded.OnnxMl.OperatorSetIdProto
getOpsetImport(int index)
The OperatorSets this model relies on.OnnxMl.OperatorSetIdProto.Builder
getOpsetImportBuilder(int index)
The OperatorSets this model relies on.List<OnnxMl.OperatorSetIdProto.Builder>
getOpsetImportBuilderList()
The OperatorSets this model relies on.int
getOpsetImportCount()
The OperatorSets this model relies on.List<OnnxMl.OperatorSetIdProto>
getOpsetImportList()
The OperatorSets this model relies on.OnnxMl.OperatorSetIdProtoOrBuilder
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.List<? extends OnnxMl.OperatorSetIdProtoOrBuilder>
getOpsetImportOrBuilderList()
The OperatorSets this model relies on.String
getProducerName()
The name of the framework or tool used to generate this model.org.nd4j.shade.protobuf.ByteString
getProducerNameBytes()
The name of the framework or tool used to generate this model.String
getProducerVersion()
The version of the framework or tool used to generate this model.org.nd4j.shade.protobuf.ByteString
getProducerVersionBytes()
The version of the framework or tool used to generate this model.OnnxMl.TrainingInfoProto
getTrainingInfo(int index)
Training-specific information.OnnxMl.TrainingInfoProto.Builder
getTrainingInfoBuilder(int index)
Training-specific information.List<OnnxMl.TrainingInfoProto.Builder>
getTrainingInfoBuilderList()
Training-specific information.int
getTrainingInfoCount()
Training-specific information.List<OnnxMl.TrainingInfoProto>
getTrainingInfoList()
Training-specific information.OnnxMl.TrainingInfoProtoOrBuilder
getTrainingInfoOrBuilder(int index)
Training-specific information.List<? extends OnnxMl.TrainingInfoProtoOrBuilder>
getTrainingInfoOrBuilderList()
Training-specific information.boolean
hasGraph()
The parameterized graph that is evaluated to execute the model.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OnnxMl.ModelProto.Builder
mergeFrom(OnnxMl.ModelProto other)
OnnxMl.ModelProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OnnxMl.ModelProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OnnxMl.ModelProto.Builder
mergeGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.OnnxMl.ModelProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.ModelProto.Builder
removeFunctions(int index)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
removeMetadataProps(int index)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
removeOpsetImport(int index)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
removeTrainingInfo(int index)
Training-specific information.OnnxMl.ModelProto.Builder
setDocString(String value)
A human-readable documentation for this model.OnnxMl.ModelProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this model.OnnxMl.ModelProto.Builder
setDomain(String value)
Domain name of the model.OnnxMl.ModelProto.Builder
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the model.OnnxMl.ModelProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.ModelProto.Builder
setFunctions(int index, OnnxMl.FunctionProto value)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
setFunctions(int index, OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model.OnnxMl.ModelProto.Builder
setGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.OnnxMl.ModelProto.Builder
setGraph(OnnxMl.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.OnnxMl.ModelProto.Builder
setIrVersion(long value)
The version of the IR this model targets.OnnxMl.ModelProto.Builder
setMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
setMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.OnnxMl.ModelProto.Builder
setModelVersion(long value)
The version of the graph encoded.OnnxMl.ModelProto.Builder
setOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
setOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.OnnxMl.ModelProto.Builder
setProducerName(String value)
The name of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
setProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
setProducerVersion(String value)
The version of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
setProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)
The version of the framework or tool used to generate this model.OnnxMl.ModelProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OnnxMl.ModelProto.Builder
setTrainingInfo(int index, OnnxMl.TrainingInfoProto value)
Training-specific information.OnnxMl.ModelProto.Builder
setTrainingInfo(int index, OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information.OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
clear
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.ModelProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.ModelProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.ModelProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
setField
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
clearField
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
clearOneof
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
setRepeatedField
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
addRepeatedField
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
mergeFrom
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
mergeFrom
public OnnxMl.ModelProto.Builder mergeFrom(OnnxMl.ModelProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
-
mergeFrom
public OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
- Throws:
IOException
-
getIrVersion
public long getIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;
- Specified by:
getIrVersion
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The irVersion.
-
setIrVersion
public OnnxMl.ModelProto.Builder setIrVersion(long value)
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;
- Parameters:
value
- The irVersion to set.- Returns:
- This builder for chaining.
-
clearIrVersion
public OnnxMl.ModelProto.Builder clearIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;
- Returns:
- This builder for chaining.
-
getOpsetImportList
public List<OnnxMl.OperatorSetIdProto> getOpsetImportList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
- Specified by:
getOpsetImportList
in interfaceOnnxMl.ModelProtoOrBuilder
-
getOpsetImportCount
public int getOpsetImportCount()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
- Specified by:
getOpsetImportCount
in interfaceOnnxMl.ModelProtoOrBuilder
-
getOpsetImport
public OnnxMl.OperatorSetIdProto getOpsetImport(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
- Specified by:
getOpsetImport
in interfaceOnnxMl.ModelProtoOrBuilder
-
setOpsetImport
public OnnxMl.ModelProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
setOpsetImport
public OnnxMl.ModelProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addOpsetImport
public OnnxMl.ModelProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addOpsetImport
public OnnxMl.ModelProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addOpsetImport
public OnnxMl.ModelProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addOpsetImport
public OnnxMl.ModelProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addAllOpsetImport
public OnnxMl.ModelProto.Builder addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
clearOpsetImport
public OnnxMl.ModelProto.Builder clearOpsetImport()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
removeOpsetImport
public OnnxMl.ModelProto.Builder removeOpsetImport(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
getOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder getOpsetImportBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
getOpsetImportOrBuilder
public OnnxMl.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
- Specified by:
getOpsetImportOrBuilder
in interfaceOnnxMl.ModelProtoOrBuilder
-
getOpsetImportOrBuilderList
public List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
- Specified by:
getOpsetImportOrBuilderList
in interfaceOnnxMl.ModelProtoOrBuilder
-
addOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
addOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
getOpsetImportBuilderList
public List<OnnxMl.OperatorSetIdProto.Builder> getOpsetImportBuilderList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
-
getProducerName
public String getProducerName()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
- Specified by:
getProducerName
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The producerName.
-
getProducerNameBytes
public org.nd4j.shade.protobuf.ByteString getProducerNameBytes()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
- Specified by:
getProducerNameBytes
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The bytes for producerName.
-
setProducerName
public OnnxMl.ModelProto.Builder setProducerName(String value)
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
- Parameters:
value
- The producerName to set.- Returns:
- This builder for chaining.
-
clearProducerName
public OnnxMl.ModelProto.Builder clearProducerName()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
- Returns:
- This builder for chaining.
-
setProducerNameBytes
public OnnxMl.ModelProto.Builder setProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
- Parameters:
value
- The bytes for producerName to set.- Returns:
- This builder for chaining.
-
getProducerVersion
public String getProducerVersion()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
- Specified by:
getProducerVersion
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The producerVersion.
-
getProducerVersionBytes
public org.nd4j.shade.protobuf.ByteString getProducerVersionBytes()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
- Specified by:
getProducerVersionBytes
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The bytes for producerVersion.
-
setProducerVersion
public OnnxMl.ModelProto.Builder setProducerVersion(String value)
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
- Parameters:
value
- The producerVersion to set.- Returns:
- This builder for chaining.
-
clearProducerVersion
public OnnxMl.ModelProto.Builder clearProducerVersion()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
- Returns:
- This builder for chaining.
-
setProducerVersionBytes
public OnnxMl.ModelProto.Builder setProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
- Parameters:
value
- The bytes for producerVersion to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
- Specified by:
getDomain
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public org.nd4j.shade.protobuf.ByteString getDomainBytes()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
- Specified by:
getDomainBytes
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The bytes for domain.
-
setDomain
public OnnxMl.ModelProto.Builder setDomain(String value)
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
- Parameters:
value
- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public OnnxMl.ModelProto.Builder clearDomain()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
- Returns:
- This builder for chaining.
-
setDomainBytes
public OnnxMl.ModelProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
- Parameters:
value
- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getModelVersion
public long getModelVersion()
The version of the graph encoded. See Version enum below.
int64 model_version = 5;
- Specified by:
getModelVersion
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The modelVersion.
-
setModelVersion
public OnnxMl.ModelProto.Builder setModelVersion(long value)
The version of the graph encoded. See Version enum below.
int64 model_version = 5;
- Parameters:
value
- The modelVersion to set.- Returns:
- This builder for chaining.
-
clearModelVersion
public OnnxMl.ModelProto.Builder clearModelVersion()
The version of the graph encoded. See Version enum below.
int64 model_version = 5;
- Returns:
- This builder for chaining.
-
getDocString
public String getDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
- Specified by:
getDocString
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
- Specified by:
getDocStringBytes
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
public OnnxMl.ModelProto.Builder setDocString(String value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
- Parameters:
value
- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public OnnxMl.ModelProto.Builder clearDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxMl.ModelProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
- Parameters:
value
- The bytes for docString to set.- Returns:
- This builder for chaining.
-
hasGraph
public boolean hasGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
- Specified by:
hasGraph
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- Whether the graph field is set.
-
getGraph
public OnnxMl.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
- Specified by:
getGraph
in interfaceOnnxMl.ModelProtoOrBuilder
- Returns:
- The graph.
-
setGraph
public OnnxMl.ModelProto.Builder setGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
setGraph
public OnnxMl.ModelProto.Builder setGraph(OnnxMl.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
mergeGraph
public OnnxMl.ModelProto.Builder mergeGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
clearGraph
public OnnxMl.ModelProto.Builder clearGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
getGraphBuilder
public OnnxMl.GraphProto.Builder getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
getGraphOrBuilder
public OnnxMl.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
- Specified by:
getGraphOrBuilder
in interfaceOnnxMl.ModelProtoOrBuilder
-
getMetadataPropsList
public List<OnnxMl.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsList
in interfaceOnnxMl.ModelProtoOrBuilder
-
getMetadataPropsCount
public int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsCount
in interfaceOnnxMl.ModelProtoOrBuilder
-
getMetadataProps
public OnnxMl.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataProps
in interfaceOnnxMl.ModelProtoOrBuilder
-
setMetadataProps
public OnnxMl.ModelProto.Builder setMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
setMetadataProps
public OnnxMl.ModelProto.Builder setMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public OnnxMl.ModelProto.Builder addMetadataProps(OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public OnnxMl.ModelProto.Builder addMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public OnnxMl.ModelProto.Builder addMetadataProps(OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public OnnxMl.ModelProto.Builder addMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addAllMetadataProps
public OnnxMl.ModelProto.Builder addAllMetadataProps(Iterable<? extends OnnxMl.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
clearMetadataProps
public OnnxMl.ModelProto.Builder clearMetadataProps()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
removeMetadataProps
public OnnxMl.ModelProto.Builder removeMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsBuilder
public OnnxMl.StringStringEntryProto.Builder getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsOrBuilder
public OnnxMl.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsOrBuilder
in interfaceOnnxMl.ModelProtoOrBuilder
-
getMetadataPropsOrBuilderList
public List<? extends OnnxMl.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsOrBuilderList
in interfaceOnnxMl.ModelProtoOrBuilder
-
addMetadataPropsBuilder
public OnnxMl.StringStringEntryProto.Builder addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataPropsBuilder
public OnnxMl.StringStringEntryProto.Builder addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsBuilderList
public List<OnnxMl.StringStringEntryProto.Builder> getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getTrainingInfoList
public List<OnnxMl.TrainingInfoProto> getTrainingInfoList()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
- Specified by:
getTrainingInfoList
in interfaceOnnxMl.ModelProtoOrBuilder
-
getTrainingInfoCount
public int getTrainingInfoCount()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
- Specified by:
getTrainingInfoCount
in interfaceOnnxMl.ModelProtoOrBuilder
-
getTrainingInfo
public OnnxMl.TrainingInfoProto getTrainingInfo(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
- Specified by:
getTrainingInfo
in interfaceOnnxMl.ModelProtoOrBuilder
-
setTrainingInfo
public OnnxMl.ModelProto.Builder setTrainingInfo(int index, OnnxMl.TrainingInfoProto value)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
setTrainingInfo
public OnnxMl.ModelProto.Builder setTrainingInfo(int index, OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addTrainingInfo
public OnnxMl.ModelProto.Builder addTrainingInfo(OnnxMl.TrainingInfoProto value)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addTrainingInfo
public OnnxMl.ModelProto.Builder addTrainingInfo(int index, OnnxMl.TrainingInfoProto value)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addTrainingInfo
public OnnxMl.ModelProto.Builder addTrainingInfo(OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addTrainingInfo
public OnnxMl.ModelProto.Builder addTrainingInfo(int index, OnnxMl.TrainingInfoProto.Builder builderForValue)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addAllTrainingInfo
public OnnxMl.ModelProto.Builder addAllTrainingInfo(Iterable<? extends OnnxMl.TrainingInfoProto> values)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
clearTrainingInfo
public OnnxMl.ModelProto.Builder clearTrainingInfo()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
removeTrainingInfo
public OnnxMl.ModelProto.Builder removeTrainingInfo(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
getTrainingInfoBuilder
public OnnxMl.TrainingInfoProto.Builder getTrainingInfoBuilder(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
getTrainingInfoOrBuilder
public OnnxMl.TrainingInfoProtoOrBuilder getTrainingInfoOrBuilder(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
- Specified by:
getTrainingInfoOrBuilder
in interfaceOnnxMl.ModelProtoOrBuilder
-
getTrainingInfoOrBuilderList
public List<? extends OnnxMl.TrainingInfoProtoOrBuilder> getTrainingInfoOrBuilderList()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
- Specified by:
getTrainingInfoOrBuilderList
in interfaceOnnxMl.ModelProtoOrBuilder
-
addTrainingInfoBuilder
public OnnxMl.TrainingInfoProto.Builder addTrainingInfoBuilder()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
addTrainingInfoBuilder
public OnnxMl.TrainingInfoProto.Builder addTrainingInfoBuilder(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
getTrainingInfoBuilderList
public List<OnnxMl.TrainingInfoProto.Builder> getTrainingInfoBuilderList()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;
-
getFunctionsList
public List<OnnxMl.FunctionProto> getFunctionsList()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
- Specified by:
getFunctionsList
in interfaceOnnxMl.ModelProtoOrBuilder
-
getFunctionsCount
public int getFunctionsCount()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
- Specified by:
getFunctionsCount
in interfaceOnnxMl.ModelProtoOrBuilder
-
getFunctions
public OnnxMl.FunctionProto getFunctions(int index)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
- Specified by:
getFunctions
in interfaceOnnxMl.ModelProtoOrBuilder
-
setFunctions
public OnnxMl.ModelProto.Builder setFunctions(int index, OnnxMl.FunctionProto value)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
setFunctions
public OnnxMl.ModelProto.Builder setFunctions(int index, OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addFunctions
public OnnxMl.ModelProto.Builder addFunctions(OnnxMl.FunctionProto value)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addFunctions
public OnnxMl.ModelProto.Builder addFunctions(int index, OnnxMl.FunctionProto value)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addFunctions
public OnnxMl.ModelProto.Builder addFunctions(OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addFunctions
public OnnxMl.ModelProto.Builder addFunctions(int index, OnnxMl.FunctionProto.Builder builderForValue)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addAllFunctions
public OnnxMl.ModelProto.Builder addAllFunctions(Iterable<? extends OnnxMl.FunctionProto> values)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
clearFunctions
public OnnxMl.ModelProto.Builder clearFunctions()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
removeFunctions
public OnnxMl.ModelProto.Builder removeFunctions(int index)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
getFunctionsBuilder
public OnnxMl.FunctionProto.Builder getFunctionsBuilder(int index)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
getFunctionsOrBuilder
public OnnxMl.FunctionProtoOrBuilder getFunctionsOrBuilder(int index)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
- Specified by:
getFunctionsOrBuilder
in interfaceOnnxMl.ModelProtoOrBuilder
-
getFunctionsOrBuilderList
public List<? extends OnnxMl.FunctionProtoOrBuilder> getFunctionsOrBuilderList()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
- Specified by:
getFunctionsOrBuilderList
in interfaceOnnxMl.ModelProtoOrBuilder
-
addFunctionsBuilder
public OnnxMl.FunctionProto.Builder addFunctionsBuilder()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
addFunctionsBuilder
public OnnxMl.FunctionProto.Builder addFunctionsBuilder(int index)
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
getFunctionsBuilderList
public List<OnnxMl.FunctionProto.Builder> getFunctionsBuilderList()
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard opserator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;
-
setUnknownFields
public final OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
mergeUnknownFields
public final OnnxMl.ModelProto.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<OnnxMl.ModelProto.Builder>
-
-