Package onnx
Class Onnx.ModelProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
- onnx.Onnx.ModelProto.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.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:
- Onnx.ModelProto
public static final class Onnx.ModelProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder> implements Onnx.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 Onnx.ModelProto.BuilderaddAllFunctions(Iterable<? extends Onnx.FunctionProto> values)A list of function protos local to the model.Onnx.ModelProto.BuilderaddAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderaddAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values)The OperatorSets this model relies on.Onnx.ModelProto.BuilderaddAllTrainingInfo(Iterable<? extends Onnx.TrainingInfoProto> values)Training-specific information.Onnx.ModelProto.BuilderaddFunctions(int index, Onnx.FunctionProto value)A list of function protos local to the model.Onnx.ModelProto.BuilderaddFunctions(int index, Onnx.FunctionProto.Builder builderForValue)A list of function protos local to the model.Onnx.ModelProto.BuilderaddFunctions(Onnx.FunctionProto value)A list of function protos local to the model.Onnx.ModelProto.BuilderaddFunctions(Onnx.FunctionProto.Builder builderForValue)A list of function protos local to the model.Onnx.FunctionProto.BuilderaddFunctionsBuilder()A list of function protos local to the model.Onnx.FunctionProto.BuilderaddFunctionsBuilder(int index)A list of function protos local to the model.Onnx.ModelProto.BuilderaddMetadataProps(int index, Onnx.StringStringEntryProto value)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderaddMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderaddMetadataProps(Onnx.StringStringEntryProto value)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderaddMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue)Named metadata values; keys should be distinct.Onnx.StringStringEntryProto.BuilderaddMetadataPropsBuilder()Named metadata values; keys should be distinct.Onnx.StringStringEntryProto.BuilderaddMetadataPropsBuilder(int index)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderaddOpsetImport(int index, Onnx.OperatorSetIdProto value)The OperatorSets this model relies on.Onnx.ModelProto.BuilderaddOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)The OperatorSets this model relies on.Onnx.ModelProto.BuilderaddOpsetImport(Onnx.OperatorSetIdProto value)The OperatorSets this model relies on.Onnx.ModelProto.BuilderaddOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue)The OperatorSets this model relies on.Onnx.OperatorSetIdProto.BuilderaddOpsetImportBuilder()The OperatorSets this model relies on.Onnx.OperatorSetIdProto.BuilderaddOpsetImportBuilder(int index)The OperatorSets this model relies on.Onnx.ModelProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.ModelProto.BuilderaddTrainingInfo(int index, Onnx.TrainingInfoProto value)Training-specific information.Onnx.ModelProto.BuilderaddTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue)Training-specific information.Onnx.ModelProto.BuilderaddTrainingInfo(Onnx.TrainingInfoProto value)Training-specific information.Onnx.ModelProto.BuilderaddTrainingInfo(Onnx.TrainingInfoProto.Builder builderForValue)Training-specific information.Onnx.TrainingInfoProto.BuilderaddTrainingInfoBuilder()Training-specific information.Onnx.TrainingInfoProto.BuilderaddTrainingInfoBuilder(int index)Training-specific information.Onnx.ModelProtobuild()Onnx.ModelProtobuildPartial()Onnx.ModelProto.Builderclear()Onnx.ModelProto.BuilderclearDocString()A human-readable documentation for this model.Onnx.ModelProto.BuilderclearDomain()Domain name of the model.Onnx.ModelProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.ModelProto.BuilderclearFunctions()A list of function protos local to the model.Onnx.ModelProto.BuilderclearGraph()The parameterized graph that is evaluated to execute the model.Onnx.ModelProto.BuilderclearIrVersion()The version of the IR this model targets.Onnx.ModelProto.BuilderclearMetadataProps()Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderclearModelVersion()The version of the graph encoded.Onnx.ModelProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.ModelProto.BuilderclearOpsetImport()The OperatorSets this model relies on.Onnx.ModelProto.BuilderclearProducerName()The name of the framework or tool used to generate this model.Onnx.ModelProto.BuilderclearProducerVersion()The version of the framework or tool used to generate this model.Onnx.ModelProto.BuilderclearTrainingInfo()Training-specific information.Onnx.ModelProto.Builderclone()Onnx.ModelProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this model.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this model.StringgetDomain()Domain name of the model.org.nd4j.shade.protobuf.ByteStringgetDomainBytes()Domain name of the model.Onnx.FunctionProtogetFunctions(int index)A list of function protos local to the model.Onnx.FunctionProto.BuildergetFunctionsBuilder(int index)A list of function protos local to the model.List<Onnx.FunctionProto.Builder>getFunctionsBuilderList()A list of function protos local to the model.intgetFunctionsCount()A list of function protos local to the model.List<Onnx.FunctionProto>getFunctionsList()A list of function protos local to the model.Onnx.FunctionProtoOrBuildergetFunctionsOrBuilder(int index)A list of function protos local to the model.List<? extends Onnx.FunctionProtoOrBuilder>getFunctionsOrBuilderList()A list of function protos local to the model.Onnx.GraphProtogetGraph()The parameterized graph that is evaluated to execute the model.Onnx.GraphProto.BuildergetGraphBuilder()The parameterized graph that is evaluated to execute the model.Onnx.GraphProtoOrBuildergetGraphOrBuilder()The parameterized graph that is evaluated to execute the model.longgetIrVersion()The version of the IR this model targets.Onnx.StringStringEntryProtogetMetadataProps(int index)Named metadata values; keys should be distinct.Onnx.StringStringEntryProto.BuildergetMetadataPropsBuilder(int index)Named metadata values; keys should be distinct.List<Onnx.StringStringEntryProto.Builder>getMetadataPropsBuilderList()Named metadata values; keys should be distinct.intgetMetadataPropsCount()Named metadata values; keys should be distinct.List<Onnx.StringStringEntryProto>getMetadataPropsList()Named metadata values; keys should be distinct.Onnx.StringStringEntryProtoOrBuildergetMetadataPropsOrBuilder(int index)Named metadata values; keys should be distinct.List<? extends Onnx.StringStringEntryProtoOrBuilder>getMetadataPropsOrBuilderList()Named metadata values; keys should be distinct.longgetModelVersion()The version of the graph encoded.Onnx.OperatorSetIdProtogetOpsetImport(int index)The OperatorSets this model relies on.Onnx.OperatorSetIdProto.BuildergetOpsetImportBuilder(int index)The OperatorSets this model relies on.List<Onnx.OperatorSetIdProto.Builder>getOpsetImportBuilderList()The OperatorSets this model relies on.intgetOpsetImportCount()The OperatorSets this model relies on.List<Onnx.OperatorSetIdProto>getOpsetImportList()The OperatorSets this model relies on.Onnx.OperatorSetIdProtoOrBuildergetOpsetImportOrBuilder(int index)The OperatorSets this model relies on.List<? extends Onnx.OperatorSetIdProtoOrBuilder>getOpsetImportOrBuilderList()The OperatorSets this model relies on.StringgetProducerName()The name of the framework or tool used to generate this model.org.nd4j.shade.protobuf.ByteStringgetProducerNameBytes()The name of the framework or tool used to generate this model.StringgetProducerVersion()The version of the framework or tool used to generate this model.org.nd4j.shade.protobuf.ByteStringgetProducerVersionBytes()The version of the framework or tool used to generate this model.Onnx.TrainingInfoProtogetTrainingInfo(int index)Training-specific information.Onnx.TrainingInfoProto.BuildergetTrainingInfoBuilder(int index)Training-specific information.List<Onnx.TrainingInfoProto.Builder>getTrainingInfoBuilderList()Training-specific information.intgetTrainingInfoCount()Training-specific information.List<Onnx.TrainingInfoProto>getTrainingInfoList()Training-specific information.Onnx.TrainingInfoProtoOrBuildergetTrainingInfoOrBuilder(int index)Training-specific information.List<? extends Onnx.TrainingInfoProtoOrBuilder>getTrainingInfoOrBuilderList()Training-specific information.booleanhasGraph()The parameterized graph that is evaluated to execute the model.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.ModelProto.BuildermergeFrom(Onnx.ModelProto other)Onnx.ModelProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.ModelProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.ModelProto.BuildermergeGraph(Onnx.GraphProto value)The parameterized graph that is evaluated to execute the model.Onnx.ModelProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.ModelProto.BuilderremoveFunctions(int index)A list of function protos local to the model.Onnx.ModelProto.BuilderremoveMetadataProps(int index)Named metadata values; keys should be distinct.Onnx.ModelProto.BuilderremoveOpsetImport(int index)The OperatorSets this model relies on.Onnx.ModelProto.BuilderremoveTrainingInfo(int index)Training-specific information.Onnx.ModelProto.BuildersetDocString(String value)A human-readable documentation for this model.Onnx.ModelProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this model.Onnx.ModelProto.BuildersetDomain(String value)Domain name of the model.Onnx.ModelProto.BuildersetDomainBytes(org.nd4j.shade.protobuf.ByteString value)Domain name of the model.Onnx.ModelProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.ModelProto.BuildersetFunctions(int index, Onnx.FunctionProto value)A list of function protos local to the model.Onnx.ModelProto.BuildersetFunctions(int index, Onnx.FunctionProto.Builder builderForValue)A list of function protos local to the model.Onnx.ModelProto.BuildersetGraph(Onnx.GraphProto value)The parameterized graph that is evaluated to execute the model.Onnx.ModelProto.BuildersetGraph(Onnx.GraphProto.Builder builderForValue)The parameterized graph that is evaluated to execute the model.Onnx.ModelProto.BuildersetIrVersion(long value)The version of the IR this model targets.Onnx.ModelProto.BuildersetMetadataProps(int index, Onnx.StringStringEntryProto value)Named metadata values; keys should be distinct.Onnx.ModelProto.BuildersetMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)Named metadata values; keys should be distinct.Onnx.ModelProto.BuildersetModelVersion(long value)The version of the graph encoded.Onnx.ModelProto.BuildersetOpsetImport(int index, Onnx.OperatorSetIdProto value)The OperatorSets this model relies on.Onnx.ModelProto.BuildersetOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)The OperatorSets this model relies on.Onnx.ModelProto.BuildersetProducerName(String value)The name of the framework or tool used to generate this model.Onnx.ModelProto.BuildersetProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)The name of the framework or tool used to generate this model.Onnx.ModelProto.BuildersetProducerVersion(String value)The version of the framework or tool used to generate this model.Onnx.ModelProto.BuildersetProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)The version of the framework or tool used to generate this model.Onnx.ModelProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.ModelProto.BuildersetTrainingInfo(int index, Onnx.TrainingInfoProto value)Training-specific information.Onnx.ModelProto.BuildersetTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue)Training-specific information.Onnx.ModelProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clear
public Onnx.ModelProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
getDefaultInstanceForType
public Onnx.ModelProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.ModelProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.ModelProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.ModelProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
setField
public Onnx.ModelProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clearField
public Onnx.ModelProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clearOneof
public Onnx.ModelProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
setRepeatedField
public Onnx.ModelProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
addRepeatedField
public Onnx.ModelProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
public Onnx.ModelProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
public Onnx.ModelProto.Builder mergeFrom(Onnx.ModelProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
public Onnx.ModelProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.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:
getIrVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The irVersion.
-
setIrVersion
public Onnx.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 Onnx.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<Onnx.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:
getOpsetImportListin interfaceOnnx.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:
getOpsetImportCountin interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImport
public Onnx.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:
getOpsetImportin interfaceOnnx.ModelProtoOrBuilder
-
setOpsetImport
public Onnx.ModelProto.Builder setOpsetImport(int index, Onnx.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 Onnx.ModelProto.Builder setOpsetImport(int index, Onnx.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 Onnx.ModelProto.Builder addOpsetImport(Onnx.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 Onnx.ModelProto.Builder addOpsetImport(int index, Onnx.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 Onnx.ModelProto.Builder addOpsetImport(Onnx.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 Onnx.ModelProto.Builder addOpsetImport(int index, Onnx.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 Onnx.ModelProto.Builder addAllOpsetImport(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getOpsetImportOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImportOrBuilderList
public List<? extends Onnx.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:
getOpsetImportOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addOpsetImportBuilder
public Onnx.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 Onnx.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<Onnx.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:
getProducerNamein interfaceOnnx.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:
getProducerNameBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for producerName.
-
setProducerName
public Onnx.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 Onnx.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 Onnx.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:
getProducerVersionin interfaceOnnx.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:
getProducerVersionBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for producerVersion.
-
setProducerVersion
public Onnx.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 Onnx.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 Onnx.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:
getDomainin interfaceOnnx.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:
getDomainBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public Onnx.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 Onnx.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 Onnx.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:
getModelVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The modelVersion.
-
setModelVersion
public Onnx.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 Onnx.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:
getDocStringin interfaceOnnx.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:
getDocStringBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public Onnx.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 Onnx.ModelProto.Builder clearDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.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:
hasGraphin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the graph field is set.
-
getGraph
public Onnx.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;- Specified by:
getGraphin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The graph.
-
setGraph
public Onnx.ModelProto.Builder setGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
setGraph
public Onnx.ModelProto.Builder setGraph(Onnx.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
mergeGraph
public Onnx.ModelProto.Builder mergeGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
clearGraph
public Onnx.ModelProto.Builder clearGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
getGraphBuilder
public Onnx.GraphProto.Builder getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
-
getGraphOrBuilder
public Onnx.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;- Specified by:
getGraphOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsList
public List<Onnx.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsListin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsCount
public int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsCountin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataProps
public Onnx.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsin interfaceOnnx.ModelProtoOrBuilder
-
setMetadataProps
public Onnx.ModelProto.Builder setMetadataProps(int index, Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
setMetadataProps
public Onnx.ModelProto.Builder setMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(int index, Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addAllMetadataProps
public Onnx.ModelProto.Builder addAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
clearMetadataProps
public Onnx.ModelProto.Builder clearMetadataProps()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
removeMetadataProps
public Onnx.ModelProto.Builder removeMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsBuilder
public Onnx.StringStringEntryProto.Builder getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsOrBuilder
public Onnx.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsOrBuilderList
public List<? extends Onnx.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addMetadataPropsBuilder
public Onnx.StringStringEntryProto.Builder addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
addMetadataPropsBuilder
public Onnx.StringStringEntryProto.Builder addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getMetadataPropsBuilderList
public List<Onnx.StringStringEntryProto.Builder> getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
-
getTrainingInfoList
public List<Onnx.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:
getTrainingInfoListin interfaceOnnx.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:
getTrainingInfoCountin interfaceOnnx.ModelProtoOrBuilder
-
getTrainingInfo
public Onnx.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:
getTrainingInfoin interfaceOnnx.ModelProtoOrBuilder
-
setTrainingInfo
public Onnx.ModelProto.Builder setTrainingInfo(int index, Onnx.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 Onnx.ModelProto.Builder setTrainingInfo(int index, Onnx.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 Onnx.ModelProto.Builder addTrainingInfo(Onnx.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 Onnx.ModelProto.Builder addTrainingInfo(int index, Onnx.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 Onnx.ModelProto.Builder addTrainingInfo(Onnx.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 Onnx.ModelProto.Builder addTrainingInfo(int index, Onnx.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 Onnx.ModelProto.Builder addAllTrainingInfo(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getTrainingInfoOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getTrainingInfoOrBuilderList
public List<? extends Onnx.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:
getTrainingInfoOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addTrainingInfoBuilder
public Onnx.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 Onnx.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<Onnx.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<Onnx.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:
getFunctionsListin interfaceOnnx.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:
getFunctionsCountin interfaceOnnx.ModelProtoOrBuilder
-
getFunctions
public Onnx.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:
getFunctionsin interfaceOnnx.ModelProtoOrBuilder
-
setFunctions
public Onnx.ModelProto.Builder setFunctions(int index, Onnx.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 Onnx.ModelProto.Builder setFunctions(int index, Onnx.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 Onnx.ModelProto.Builder addFunctions(Onnx.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 Onnx.ModelProto.Builder addFunctions(int index, Onnx.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 Onnx.ModelProto.Builder addFunctions(Onnx.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 Onnx.ModelProto.Builder addFunctions(int index, Onnx.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 Onnx.ModelProto.Builder addAllFunctions(Iterable<? extends Onnx.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 Onnx.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 Onnx.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 Onnx.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 Onnx.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:
getFunctionsOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getFunctionsOrBuilderList
public List<? extends Onnx.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:
getFunctionsOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addFunctionsBuilder
public Onnx.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 Onnx.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<Onnx.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 Onnx.ModelProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeUnknownFields
public final Onnx.ModelProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
-