public static final class OnnxMl.ModelProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder> implements OnnxMl.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 |
---|---|
OnnxMl.ModelProto.Builder |
addAllMetadataProps(Iterable<? extends OnnxMl.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
addMetadataProps(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
addMetadataProps(int index,
OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
addMetadataProps(OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
addMetadataProps(OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMl.StringStringEntryProto.Builder |
addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
|
OnnxMl.StringStringEntryProto.Builder |
addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
addOpsetImport(int index,
OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
addOpsetImport(int index,
OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
addOpsetImport(OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMl.OperatorSetIdProto.Builder |
addOpsetImportBuilder()
The OperatorSets this model relies on.
|
OnnxMl.OperatorSetIdProto.Builder |
addOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.ModelProto |
build() |
OnnxMl.ModelProto |
buildPartial() |
OnnxMl.ModelProto.Builder |
clear() |
OnnxMl.ModelProto.Builder |
clearDocString()
A human-readable documentation for this model.
|
OnnxMl.ModelProto.Builder |
clearDomain()
Domain name of the model.
|
OnnxMl.ModelProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.ModelProto.Builder |
clearGraph()
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.ModelProto.Builder |
clearIrVersion()
The version of the IR this model targets.
|
OnnxMl.ModelProto.Builder |
clearMetadataProps()
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
clearModelVersion()
The version of the graph encoded.
|
OnnxMl.ModelProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.ModelProto.Builder |
clearOpsetImport()
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
clearProducerName()
The name of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
clearProducerVersion()
The version of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
clone() |
OnnxMl.ModelProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocString()
A human-readable documentation for this model.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this model.
|
String |
getDomain()
Domain name of the model.
|
org.nd4j.shade.protobuf.ByteString |
getDomainBytes()
Domain name of the model.
|
OnnxMl.GraphProto |
getGraph()
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.GraphProto.Builder |
getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.GraphProtoOrBuilder |
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
|
long |
getIrVersion()
The version of the IR this model targets.
|
OnnxMl.StringStringEntryProto |
getMetadataProps(int index)
Named metadata values; keys should be distinct.
|
OnnxMl.StringStringEntryProto.Builder |
getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
List<OnnxMl.StringStringEntryProto.Builder> |
getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
|
int |
getMetadataPropsCount()
Named metadata values; keys should be distinct.
|
List<OnnxMl.StringStringEntryProto> |
getMetadataPropsList()
Named metadata values; keys should be distinct.
|
OnnxMl.StringStringEntryProtoOrBuilder |
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
|
List<? extends OnnxMl.StringStringEntryProtoOrBuilder> |
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
|
long |
getModelVersion()
The version of the graph encoded.
|
OnnxMl.OperatorSetIdProto |
getOpsetImport(int index)
The OperatorSets this model relies on.
|
OnnxMl.OperatorSetIdProto.Builder |
getOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
List<OnnxMl.OperatorSetIdProto.Builder> |
getOpsetImportBuilderList()
The OperatorSets this model relies on.
|
int |
getOpsetImportCount()
The OperatorSets this model relies on.
|
List<OnnxMl.OperatorSetIdProto> |
getOpsetImportList()
The OperatorSets this model relies on.
|
OnnxMl.OperatorSetIdProtoOrBuilder |
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.
|
List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> |
getOpsetImportOrBuilderList()
The OperatorSets this model relies on.
|
String |
getProducerName()
The name of the framework or tool used to generate this model.
|
org.nd4j.shade.protobuf.ByteString |
getProducerNameBytes()
The name of the framework or tool used to generate this model.
|
String |
getProducerVersion()
The version of the framework or tool used to generate this model.
|
org.nd4j.shade.protobuf.ByteString |
getProducerVersionBytes()
The version of the framework or tool used to generate this model.
|
boolean |
hasGraph()
The parameterized graph that is evaluated to execute the model.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.ModelProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.ModelProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxMl.ModelProto.Builder |
mergeFrom(OnnxMl.ModelProto other) |
OnnxMl.ModelProto.Builder |
mergeGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.ModelProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.ModelProto.Builder |
removeMetadataProps(int index)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
removeOpsetImport(int index)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
setDocString(String value)
A human-readable documentation for this model.
|
OnnxMl.ModelProto.Builder |
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this model.
|
OnnxMl.ModelProto.Builder |
setDomain(String value)
Domain name of the model.
|
OnnxMl.ModelProto.Builder |
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the model.
|
OnnxMl.ModelProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.ModelProto.Builder |
setGraph(OnnxMl.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.ModelProto.Builder |
setGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.ModelProto.Builder |
setIrVersion(long value)
The version of the IR this model targets.
|
OnnxMl.ModelProto.Builder |
setMetadataProps(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
setMetadataProps(int index,
OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMl.ModelProto.Builder |
setModelVersion(long value)
The version of the graph encoded.
|
OnnxMl.ModelProto.Builder |
setOpsetImport(int index,
OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
setOpsetImport(int index,
OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMl.ModelProto.Builder |
setProducerName(String value)
The name of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
setProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
setProducerVersion(String value)
The version of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
setProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)
The version of the framework or tool used to generate this model.
|
OnnxMl.ModelProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.ModelProto.Builder |
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public OnnxMl.ModelProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.ModelProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.ModelProto.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.ModelProto.Builder mergeFrom(OnnxMl.ModelProto other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public OnnxMl.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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.ModelProto.Builder>
IOException
public 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 OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setIrVersion(long value)
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;
public OnnxMl.ModelProto.Builder clearIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
int64 ir_version = 1;
public List<OnnxMl.OperatorSetIdProto> getOpsetImportList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
getOpsetImportList
in interface OnnxMl.ModelProtoOrBuilder
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;
getOpsetImportCount
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.OperatorSetIdProto getOpsetImport(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
getOpsetImport
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder clearOpsetImport()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.ModelProto.Builder removeOpsetImport(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.OperatorSetIdProto.Builder getOpsetImportBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
getOpsetImportOrBuilder
in interface OnnxMl.ModelProtoOrBuilder
public List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
getOpsetImportOrBuilderList
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
public List<OnnxMl.OperatorSetIdProto.Builder> getOpsetImportBuilderList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;
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 OnnxMl.ModelProtoOrBuilder
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;
getProducerNameBytes
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setProducerName(String value)
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
public OnnxMl.ModelProto.Builder clearProducerName()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
public OnnxMl.ModelProto.Builder setProducerNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_name = 2;
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 OnnxMl.ModelProtoOrBuilder
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;
getProducerVersionBytes
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setProducerVersion(String value)
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
public OnnxMl.ModelProto.Builder clearProducerVersion()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
public OnnxMl.ModelProto.Builder setProducerVersionBytes(org.nd4j.shade.protobuf.ByteString value)
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
string producer_version = 3;
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 OnnxMl.ModelProtoOrBuilder
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;
getDomainBytes
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setDomain(String value)
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
public OnnxMl.ModelProto.Builder clearDomain()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
public OnnxMl.ModelProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
string domain = 4;
public long getModelVersion()
The version of the graph encoded. See Version enum below.
int64 model_version = 5;
getModelVersion
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setModelVersion(long value)
The version of the graph encoded. See Version enum below.
int64 model_version = 5;
public OnnxMl.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 OnnxMl.ModelProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
getDocStringBytes
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setDocString(String value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
public OnnxMl.ModelProto.Builder clearDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
public OnnxMl.ModelProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;
public boolean hasGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
hasGraph
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
getGraph
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
public OnnxMl.ModelProto.Builder setGraph(OnnxMl.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
public OnnxMl.ModelProto.Builder mergeGraph(OnnxMl.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
public OnnxMl.ModelProto.Builder clearGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
public OnnxMl.GraphProto.Builder getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
public OnnxMl.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
getGraphOrBuilder
in interface OnnxMl.ModelProtoOrBuilder
public List<OnnxMl.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsList
in interface OnnxMl.ModelProtoOrBuilder
public int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsCount
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataProps
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.ModelProto.Builder setMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder setMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder addMetadataProps(OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder addMetadataProps(int index, OnnxMl.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder addMetadataProps(OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder addMetadataProps(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder addAllMetadataProps(Iterable<? extends OnnxMl.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder clearMetadataProps()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.ModelProto.Builder removeMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.StringStringEntryProto.Builder getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsOrBuilder
in interface OnnxMl.ModelProtoOrBuilder
public List<? extends OnnxMl.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsOrBuilderList
in interface OnnxMl.ModelProtoOrBuilder
public OnnxMl.StringStringEntryProto.Builder addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public OnnxMl.StringStringEntryProto.Builder addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public List<OnnxMl.StringStringEntryProto.Builder> getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
public final OnnxMl.ModelProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
public final OnnxMl.ModelProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ModelProto.Builder>
Copyright © 2020. All rights reserved.