public static final class Onnx.ModelProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder> implements Onnx.ModelProtoOrBuilder
ModelProto is a top-level file/container format for bundling a ML model. The semantics of the model are described by the GraphProto that represents a parameterized computation graph against a set of named operators that are defined independently from the graph.Protobuf type
onnx.ModelProto| Modifier and Type | Method and Description |
|---|---|
Onnx.ModelProto.Builder |
addAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
addAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
addMetadataProps(int index,
Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
addMetadataProps(int index,
Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
addMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
addMetadataProps(Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
Onnx.StringStringEntryProto.Builder |
addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
|
Onnx.StringStringEntryProto.Builder |
addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
addOpsetImport(int index,
Onnx.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
addOpsetImport(int index,
Onnx.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
addOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
addOpsetImport(Onnx.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
Onnx.OperatorSetIdProto.Builder |
addOpsetImportBuilder()
The OperatorSets this model relies on.
|
Onnx.OperatorSetIdProto.Builder |
addOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.ModelProto |
build() |
Onnx.ModelProto |
buildPartial() |
Onnx.ModelProto.Builder |
clear() |
Onnx.ModelProto.Builder |
clearDocString()
A human-readable documentation for this model.
|
Onnx.ModelProto.Builder |
clearDomain()
Domain name of the model.
|
Onnx.ModelProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
Onnx.ModelProto.Builder |
clearGraph()
The parameterized graph that is evaluated to execute the model.
|
Onnx.ModelProto.Builder |
clearIrVersion()
The version of the IR this model targets.
|
Onnx.ModelProto.Builder |
clearMetadataProps()
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
clearModelVersion()
The version of the graph encoded.
|
Onnx.ModelProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
Onnx.ModelProto.Builder |
clearOpsetImport()
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
clearProducerName()
The name of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
clearProducerVersion()
The version of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
clone() |
Onnx.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.
|
Onnx.GraphProto |
getGraph()
The parameterized graph that is evaluated to execute the model.
|
Onnx.GraphProto.Builder |
getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
|
Onnx.GraphProtoOrBuilder |
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
|
long |
getIrVersion()
The version of the IR this model targets.
|
Onnx.StringStringEntryProto |
getMetadataProps(int index)
Named metadata values; keys should be distinct.
|
Onnx.StringStringEntryProto.Builder |
getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
List<Onnx.StringStringEntryProto.Builder> |
getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
|
int |
getMetadataPropsCount()
Named metadata values; keys should be distinct.
|
List<Onnx.StringStringEntryProto> |
getMetadataPropsList()
Named metadata values; keys should be distinct.
|
Onnx.StringStringEntryProtoOrBuilder |
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
|
List<? extends Onnx.StringStringEntryProtoOrBuilder> |
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
|
long |
getModelVersion()
The version of the graph encoded.
|
Onnx.OperatorSetIdProto |
getOpsetImport(int index)
The OperatorSets this model relies on.
|
Onnx.OperatorSetIdProto.Builder |
getOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
List<Onnx.OperatorSetIdProto.Builder> |
getOpsetImportBuilderList()
The OperatorSets this model relies on.
|
int |
getOpsetImportCount()
The OperatorSets this model relies on.
|
List<Onnx.OperatorSetIdProto> |
getOpsetImportList()
The OperatorSets this model relies on.
|
Onnx.OperatorSetIdProtoOrBuilder |
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.
|
List<? extends Onnx.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.
|
boolean |
hasGraph()
The parameterized graph that is evaluated to execute the model.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Onnx.ModelProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
Onnx.ModelProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
Onnx.ModelProto.Builder |
mergeFrom(Onnx.ModelProto other) |
Onnx.ModelProto.Builder |
mergeGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
Onnx.ModelProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
Onnx.ModelProto.Builder |
removeMetadataProps(int index)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
removeOpsetImport(int index)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
setDocString(String value)
A human-readable documentation for this model.
|
Onnx.ModelProto.Builder |
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this model.
|
Onnx.ModelProto.Builder |
setDomain(String value)
Domain name of the model.
|
Onnx.ModelProto.Builder |
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the model.
|
Onnx.ModelProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.ModelProto.Builder |
setGraph(Onnx.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
|
Onnx.ModelProto.Builder |
setGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
Onnx.ModelProto.Builder |
setIrVersion(long value)
The version of the IR this model targets.
|
Onnx.ModelProto.Builder |
setMetadataProps(int index,
Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
setMetadataProps(int index,
Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
Onnx.ModelProto.Builder |
setModelVersion(long value)
The version of the graph encoded.
|
Onnx.ModelProto.Builder |
setOpsetImport(int index,
Onnx.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
setOpsetImport(int index,
Onnx.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
Onnx.ModelProto.Builder |
setProducerName(String value)
The name of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
setProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
setProducerVersion(String value)
The version of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
setProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)
The version of the framework or tool used to generate this model.
|
Onnx.ModelProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Onnx.ModelProto.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic Onnx.ModelProto build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic Onnx.ModelProto buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic Onnx.ModelProto.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder mergeFrom(Onnx.ModelProto other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public Onnx.ModelProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.ModelProto.Builder>IOExceptionpublic long getIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;getIrVersion in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;getOpsetImportList in interface Onnx.ModelProtoOrBuilderpublic 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;getOpsetImportCount in interface Onnx.ModelProtoOrBuilderpublic 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;getOpsetImport in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getOpsetImportOrBuilder in interface Onnx.ModelProtoOrBuilderpublic 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;getOpsetImportOrBuilderList in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;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;getProducerName in interface Onnx.ModelProtoOrBuilderpublic 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;getProducerNameBytes in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;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;getProducerVersion in interface Onnx.ModelProtoOrBuilderpublic 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;getProducerVersionBytes in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;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;getDomain in interface Onnx.ModelProtoOrBuilderpublic 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;getDomainBytes in interface Onnx.ModelProtoOrBuilderpublic 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;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;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;public long getModelVersion()
The version of the graph encoded. See Version enum below.
int64 model_version = 5;getModelVersion in interface Onnx.ModelProtoOrBuilderpublic Onnx.ModelProto.Builder setModelVersion(long value)
The version of the graph encoded. See Version enum below.
int64 model_version = 5;public Onnx.ModelProto.Builder clearModelVersion()
The version of the graph encoded. See Version enum below.
int64 model_version = 5;public String getDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;getDocString in interface Onnx.ModelProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface Onnx.ModelProtoOrBuilderpublic Onnx.ModelProto.Builder setDocString(String value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;public Onnx.ModelProto.Builder clearDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;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;public boolean hasGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;hasGraph in interface Onnx.ModelProtoOrBuilderpublic Onnx.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;getGraph in interface Onnx.ModelProtoOrBuilderpublic Onnx.ModelProto.Builder setGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public Onnx.ModelProto.Builder setGraph(Onnx.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public Onnx.ModelProto.Builder mergeGraph(Onnx.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public Onnx.ModelProto.Builder clearGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public Onnx.GraphProto.Builder getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public Onnx.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;getGraphOrBuilder in interface Onnx.ModelProtoOrBuilderpublic List<Onnx.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsList in interface Onnx.ModelProtoOrBuilderpublic int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsCount in interface Onnx.ModelProtoOrBuilderpublic Onnx.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataProps in interface Onnx.ModelProtoOrBuilderpublic Onnx.ModelProto.Builder setMetadataProps(int index, Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder setMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder addMetadataProps(Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder addMetadataProps(int index, Onnx.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder addMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder addMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder addAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder clearMetadataProps()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.ModelProto.Builder removeMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.StringStringEntryProto.Builder getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilder in interface Onnx.ModelProtoOrBuilderpublic List<? extends Onnx.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilderList in interface Onnx.ModelProtoOrBuilderpublic Onnx.StringStringEntryProto.Builder addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public Onnx.StringStringEntryProto.Builder addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public List<Onnx.StringStringEntryProto.Builder> getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public final Onnx.ModelProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>public final Onnx.ModelProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>Copyright © 2021. All rights reserved.