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, 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<Onnx.ModelProto.Builder>
public Onnx.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<Onnx.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<Onnx.ModelProto.Builder>
public Onnx.ModelProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public Onnx.ModelProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.ModelProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.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<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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.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 Onnx.ModelProtoOrBuilder
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;
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.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 Onnx.ModelProtoOrBuilder
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;
getOpsetImport
in interface Onnx.ModelProtoOrBuilder
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;
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.ModelProtoOrBuilder
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;
getOpsetImportOrBuilderList
in interface Onnx.ModelProtoOrBuilder
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;
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.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 Onnx.ModelProtoOrBuilder
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;
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.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 Onnx.ModelProtoOrBuilder
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;
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.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 Onnx.ModelProtoOrBuilder
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;
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.ModelProtoOrBuilder
public 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.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 Onnx.ModelProtoOrBuilder
public 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.ModelProtoOrBuilder
public Onnx.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;
getGraph
in interface Onnx.ModelProtoOrBuilder
public 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.ModelProtoOrBuilder
public List<Onnx.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsList
in interface Onnx.ModelProtoOrBuilder
public int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsCount
in interface Onnx.ModelProtoOrBuilder
public Onnx.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataProps
in interface Onnx.ModelProtoOrBuilder
public 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.ModelProtoOrBuilder
public List<? extends Onnx.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
getMetadataPropsOrBuilderList
in interface Onnx.ModelProtoOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
Copyright © 2020. All rights reserved.