public static final class OnnxMlProto3.ModelProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder> implements OnnxMlProto3.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 |
|---|---|
OnnxMlProto3.ModelProto.Builder |
addAllMetadataProps(Iterable<? extends OnnxMlProto3.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
addAllOpsetImport(Iterable<? extends OnnxMlProto3.OperatorSetIdProto> values)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
addMetadataProps(int index,
OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
addMetadataProps(int index,
OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
addMetadataProps(OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
addMetadataProps(OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.StringStringEntryProto.Builder |
addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
|
OnnxMlProto3.StringStringEntryProto.Builder |
addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
addOpsetImport(int index,
OnnxMlProto3.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
addOpsetImport(int index,
OnnxMlProto3.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
addOpsetImport(OnnxMlProto3.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
addOpsetImport(OnnxMlProto3.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMlProto3.OperatorSetIdProto.Builder |
addOpsetImportBuilder()
The OperatorSets this model relies on.
|
OnnxMlProto3.OperatorSetIdProto.Builder |
addOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.ModelProto |
build() |
OnnxMlProto3.ModelProto |
buildPartial() |
OnnxMlProto3.ModelProto.Builder |
clear() |
OnnxMlProto3.ModelProto.Builder |
clearDocString()
A human-readable documentation for this model.
|
OnnxMlProto3.ModelProto.Builder |
clearDomain()
Domain name of the model.
|
OnnxMlProto3.ModelProto.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
OnnxMlProto3.ModelProto.Builder |
clearGraph()
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.ModelProto.Builder |
clearIrVersion()
The version of the IR this model targets.
|
OnnxMlProto3.ModelProto.Builder |
clearMetadataProps()
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
clearModelVersion()
The version of the graph encoded.
|
OnnxMlProto3.ModelProto.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
OnnxMlProto3.ModelProto.Builder |
clearOpsetImport()
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
clearProducerName()
The name of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
clearProducerVersion()
The version of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
clone() |
OnnxMlProto3.ModelProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocString()
A human-readable documentation for this model.
|
com.github.os72.protobuf351.ByteString |
getDocStringBytes()
A human-readable documentation for this model.
|
String |
getDomain()
Domain name of the model.
|
com.github.os72.protobuf351.ByteString |
getDomainBytes()
Domain name of the model.
|
OnnxMlProto3.GraphProto |
getGraph()
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.GraphProto.Builder |
getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.GraphProtoOrBuilder |
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
|
long |
getIrVersion()
The version of the IR this model targets.
|
OnnxMlProto3.StringStringEntryProto |
getMetadataProps(int index)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.StringStringEntryProto.Builder |
getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
|
List<OnnxMlProto3.StringStringEntryProto.Builder> |
getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
|
int |
getMetadataPropsCount()
Named metadata values; keys should be distinct.
|
List<OnnxMlProto3.StringStringEntryProto> |
getMetadataPropsList()
Named metadata values; keys should be distinct.
|
OnnxMlProto3.StringStringEntryProtoOrBuilder |
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
|
List<? extends OnnxMlProto3.StringStringEntryProtoOrBuilder> |
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
|
long |
getModelVersion()
The version of the graph encoded.
|
OnnxMlProto3.OperatorSetIdProto |
getOpsetImport(int index)
The OperatorSets this model relies on.
|
OnnxMlProto3.OperatorSetIdProto.Builder |
getOpsetImportBuilder(int index)
The OperatorSets this model relies on.
|
List<OnnxMlProto3.OperatorSetIdProto.Builder> |
getOpsetImportBuilderList()
The OperatorSets this model relies on.
|
int |
getOpsetImportCount()
The OperatorSets this model relies on.
|
List<OnnxMlProto3.OperatorSetIdProto> |
getOpsetImportList()
The OperatorSets this model relies on.
|
OnnxMlProto3.OperatorSetIdProtoOrBuilder |
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.
|
List<? extends OnnxMlProto3.OperatorSetIdProtoOrBuilder> |
getOpsetImportOrBuilderList()
The OperatorSets this model relies on.
|
String |
getProducerName()
The name of the framework or tool used to generate this model.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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 com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMlProto3.ModelProto.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
OnnxMlProto3.ModelProto.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
OnnxMlProto3.ModelProto.Builder |
mergeFrom(OnnxMlProto3.ModelProto other) |
OnnxMlProto3.ModelProto.Builder |
mergeGraph(OnnxMlProto3.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.ModelProto.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
OnnxMlProto3.ModelProto.Builder |
removeMetadataProps(int index)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
removeOpsetImport(int index)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
setDocString(String value)
A human-readable documentation for this model.
|
OnnxMlProto3.ModelProto.Builder |
setDocStringBytes(com.github.os72.protobuf351.ByteString value)
A human-readable documentation for this model.
|
OnnxMlProto3.ModelProto.Builder |
setDomain(String value)
Domain name of the model.
|
OnnxMlProto3.ModelProto.Builder |
setDomainBytes(com.github.os72.protobuf351.ByteString value)
Domain name of the model.
|
OnnxMlProto3.ModelProto.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.ModelProto.Builder |
setGraph(OnnxMlProto3.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.ModelProto.Builder |
setGraph(OnnxMlProto3.GraphProto value)
The parameterized graph that is evaluated to execute the model.
|
OnnxMlProto3.ModelProto.Builder |
setIrVersion(long value)
The version of the IR this model targets.
|
OnnxMlProto3.ModelProto.Builder |
setMetadataProps(int index,
OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
setMetadataProps(int index,
OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
|
OnnxMlProto3.ModelProto.Builder |
setModelVersion(long value)
The version of the graph encoded.
|
OnnxMlProto3.ModelProto.Builder |
setOpsetImport(int index,
OnnxMlProto3.OperatorSetIdProto.Builder builderForValue)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
setOpsetImport(int index,
OnnxMlProto3.OperatorSetIdProto value)
The OperatorSets this model relies on.
|
OnnxMlProto3.ModelProto.Builder |
setProducerName(String value)
The name of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
setProducerNameBytes(com.github.os72.protobuf351.ByteString value)
The name of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
setProducerVersion(String value)
The version of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
setProducerVersionBytes(com.github.os72.protobuf351.ByteString value)
The version of the framework or tool used to generate this model.
|
OnnxMlProto3.ModelProto.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMlProto3.ModelProto.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic OnnxMlProto3.ModelProto build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxMlProto3.ModelProto buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxMlProto3.ModelProto.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder mergeFrom(OnnxMlProto3.ModelProto other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public OnnxMlProto3.ModelProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.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<OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.ModelProto.Builder setOpsetImport(int index, OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder setOpsetImport(int index, OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder addOpsetImport(OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder addOpsetImport(int index, OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder addOpsetImport(OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder addOpsetImport(int index, OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder addAllOpsetImport(Iterable<? extends OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic List<? extends OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.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<OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder setProducerNameBytes(com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder setProducerVersionBytes(com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.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 OnnxMlProto3.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 OnnxMlProto3.ModelProto.Builder setDomainBytes(com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.ModelProto.Builder setModelVersion(long value)
The version of the graph encoded. See Version enum below.
int64 model_version = 5;public OnnxMlProto3.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 OnnxMlProto3.ModelProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;getDocStringBytes in interface OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.ModelProto.Builder setDocString(String value)
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;public OnnxMlProto3.ModelProto.Builder clearDocString()
A human-readable documentation for this model. Markdown is allowed.
string doc_string = 6;public OnnxMlProto3.ModelProto.Builder setDocStringBytes(com.github.os72.protobuf351.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 OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;getGraph in interface OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.ModelProto.Builder setGraph(OnnxMlProto3.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public OnnxMlProto3.ModelProto.Builder setGraph(OnnxMlProto3.GraphProto.Builder builderForValue)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public OnnxMlProto3.ModelProto.Builder mergeGraph(OnnxMlProto3.GraphProto value)
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public OnnxMlProto3.ModelProto.Builder clearGraph()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public OnnxMlProto3.GraphProto.Builder getGraphBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;public OnnxMlProto3.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
.onnx.GraphProto graph = 7;getGraphOrBuilder in interface OnnxMlProto3.ModelProtoOrBuilderpublic List<OnnxMlProto3.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsList in interface OnnxMlProto3.ModelProtoOrBuilderpublic int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsCount in interface OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataProps in interface OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.ModelProto.Builder setMetadataProps(int index, OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder setMetadataProps(int index, OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder addMetadataProps(OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder addMetadataProps(int index, OnnxMlProto3.StringStringEntryProto value)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder addMetadataProps(OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder addMetadataProps(int index, OnnxMlProto3.StringStringEntryProto.Builder builderForValue)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder addAllMetadataProps(Iterable<? extends OnnxMlProto3.StringStringEntryProto> values)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder clearMetadataProps()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.ModelProto.Builder removeMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.StringStringEntryProto.Builder getMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilder in interface OnnxMlProto3.ModelProtoOrBuilderpublic List<? extends OnnxMlProto3.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilderList in interface OnnxMlProto3.ModelProtoOrBuilderpublic OnnxMlProto3.StringStringEntryProto.Builder addMetadataPropsBuilder()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public OnnxMlProto3.StringStringEntryProto.Builder addMetadataPropsBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public List<OnnxMlProto3.StringStringEntryProto.Builder> getMetadataPropsBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;public final OnnxMlProto3.ModelProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>public final OnnxMlProto3.ModelProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.ModelProto.Builder>Copyright © 2018. All rights reserved.