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