Package onnx
Class Onnx.ModelProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
onnx.Onnx.ModelProto.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Onnx.ModelProtoOrBuilder
- Enclosing class:
- Onnx.ModelProto
public static final class Onnx.ModelProto.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
implements Onnx.ModelProtoOrBuilder
Models ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata. The semantics of the model are described by the associated GraphProto's.Protobuf type
onnx.ModelProto-
Method Summary
Modifier and TypeMethodDescriptionaddAllFunctions(Iterable<? extends Onnx.FunctionProto> values) A list of function protos local to the model.addAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values) Named metadata values; keys should be distinct.addAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values) The OperatorSets this model relies on.addAllTrainingInfo(Iterable<? extends Onnx.TrainingInfoProto> values) Training-specific information.addFunctions(int index, Onnx.FunctionProto value) A list of function protos local to the model.addFunctions(int index, Onnx.FunctionProto.Builder builderForValue) A list of function protos local to the model.addFunctions(Onnx.FunctionProto value) A list of function protos local to the model.addFunctions(Onnx.FunctionProto.Builder builderForValue) A list of function protos local to the model.A list of function protos local to the model.addFunctionsBuilder(int index) A list of function protos local to the model.addMetadataProps(int index, Onnx.StringStringEntryProto value) Named metadata values; keys should be distinct.addMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.Named metadata values; keys should be distinct.addMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.Named metadata values; keys should be distinct.addMetadataPropsBuilder(int index) Named metadata values; keys should be distinct.addOpsetImport(int index, Onnx.OperatorSetIdProto value) The OperatorSets this model relies on.addOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue) The OperatorSets this model relies on.The OperatorSets this model relies on.addOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue) The OperatorSets this model relies on.The OperatorSets this model relies on.addOpsetImportBuilder(int index) The OperatorSets this model relies on.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTrainingInfo(int index, Onnx.TrainingInfoProto value) Training-specific information.addTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue) Training-specific information.Training-specific information.addTrainingInfo(Onnx.TrainingInfoProto.Builder builderForValue) Training-specific information.Training-specific information.addTrainingInfoBuilder(int index) Training-specific information.build()clear()A human-readable documentation for this model.Domain name of the model.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of function protos local to the model.The parameterized graph that is evaluated to execute the model.The version of the IR this model targets.Named metadata values; keys should be distinct.The version of the graph encoded.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The OperatorSets this model relies on.The name of the framework or tool used to generate this model.The version of the framework or tool used to generate this model.Training-specific information.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA human-readable documentation for this model.com.google.protobuf.ByteStringA human-readable documentation for this model.Domain name of the model.com.google.protobuf.ByteStringDomain name of the model.getFunctions(int index) A list of function protos local to the model.getFunctionsBuilder(int index) A list of function protos local to the model.A list of function protos local to the model.intA list of function protos local to the model.A list of function protos local to the model.getFunctionsOrBuilder(int index) A list of function protos local to the model.List<? extends Onnx.FunctionProtoOrBuilder>A list of function protos local to the model.getGraph()The parameterized graph that is evaluated to execute the model.The parameterized graph that is evaluated to execute the model.The parameterized graph that is evaluated to execute the model.longThe version of the IR this model targets.getMetadataProps(int index) Named metadata values; keys should be distinct.getMetadataPropsBuilder(int index) Named metadata values; keys should be distinct.Named metadata values; keys should be distinct.intNamed metadata values; keys should be distinct.Named metadata values; keys should be distinct.getMetadataPropsOrBuilder(int index) Named metadata values; keys should be distinct.List<? extends Onnx.StringStringEntryProtoOrBuilder>Named metadata values; keys should be distinct.longThe version of the graph encoded.getOpsetImport(int index) The OperatorSets this model relies on.getOpsetImportBuilder(int index) The OperatorSets this model relies on.The OperatorSets this model relies on.intThe OperatorSets this model relies on.The OperatorSets this model relies on.getOpsetImportOrBuilder(int index) The OperatorSets this model relies on.List<? extends Onnx.OperatorSetIdProtoOrBuilder>The OperatorSets this model relies on.The name of the framework or tool used to generate this model.com.google.protobuf.ByteStringThe name of the framework or tool used to generate this model.The version of the framework or tool used to generate this model.com.google.protobuf.ByteStringThe version of the framework or tool used to generate this model.getTrainingInfo(int index) Training-specific information.getTrainingInfoBuilder(int index) Training-specific information.Training-specific information.intTraining-specific information.Training-specific information.getTrainingInfoOrBuilder(int index) Training-specific information.List<? extends Onnx.TrainingInfoProtoOrBuilder>Training-specific information.booleanA human-readable documentation for this model.booleanDomain name of the model.booleanhasGraph()The parameterized graph that is evaluated to execute the model.booleanThe version of the IR this model targets.booleanThe version of the graph encoded.booleanThe name of the framework or tool used to generate this model.booleanThe version of the framework or tool used to generate this model.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Onnx.ModelProto other) mergeGraph(Onnx.GraphProto value) The parameterized graph that is evaluated to execute the model.final Onnx.ModelProto.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeFunctions(int index) A list of function protos local to the model.removeMetadataProps(int index) Named metadata values; keys should be distinct.removeOpsetImport(int index) The OperatorSets this model relies on.removeTrainingInfo(int index) Training-specific information.setDocString(String value) A human-readable documentation for this model.setDocStringBytes(com.google.protobuf.ByteString value) A human-readable documentation for this model.Domain name of the model.setDomainBytes(com.google.protobuf.ByteString value) Domain name of the model.setFunctions(int index, Onnx.FunctionProto value) A list of function protos local to the model.setFunctions(int index, Onnx.FunctionProto.Builder builderForValue) A list of function protos local to the model.setGraph(Onnx.GraphProto value) The parameterized graph that is evaluated to execute the model.setGraph(Onnx.GraphProto.Builder builderForValue) The parameterized graph that is evaluated to execute the model.setIrVersion(long value) The version of the IR this model targets.setMetadataProps(int index, Onnx.StringStringEntryProto value) Named metadata values; keys should be distinct.setMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.setModelVersion(long value) The version of the graph encoded.setOpsetImport(int index, Onnx.OperatorSetIdProto value) The OperatorSets this model relies on.setOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue) The OperatorSets this model relies on.setProducerName(String value) The name of the framework or tool used to generate this model.setProducerNameBytes(com.google.protobuf.ByteString value) The name of the framework or tool used to generate this model.setProducerVersion(String value) The version of the framework or tool used to generate this model.setProducerVersionBytes(com.google.protobuf.ByteString value) The version of the framework or tool used to generate this model.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTrainingInfo(int index, Onnx.TrainingInfoProto value) Training-specific information.setTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue) Training-specific information.final Onnx.ModelProto.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
setField
public Onnx.ModelProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
setRepeatedField
public Onnx.ModelProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
addRepeatedField
public Onnx.ModelProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeFrom
public Onnx.ModelProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Onnx.ModelProto.Builder>- Throws:
IOException
-
hasIrVersion
public boolean hasIrVersion()The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;- Specified by:
hasIrVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the irVersion field is set.
-
getIrVersion
public long getIrVersion()The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;- Specified by:
getIrVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The irVersion.
-
setIrVersion
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;- Parameters:
value- The irVersion to set.- Returns:
- This builder for chaining.
-
clearIrVersion
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;- Returns:
- This builder for chaining.
-
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;- Specified by:
getOpsetImportListin interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImportCount
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;- Specified by:
getOpsetImportCountin interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImport
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;- Specified by:
getOpsetImportin interfaceOnnx.ModelProtoOrBuilder
-
setOpsetImport
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; -
setOpsetImport
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; -
addOpsetImport
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; -
addOpsetImport
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; -
addOpsetImport
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; -
addOpsetImport
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; -
addAllOpsetImport
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; -
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; -
removeOpsetImport
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; -
getOpsetImportBuilder
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
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;- Specified by:
getOpsetImportOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
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;- Specified by:
getOpsetImportOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
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; -
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; -
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; -
hasProducerName
public boolean hasProducerName()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.
optional string producer_name = 2;- Specified by:
hasProducerNamein interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the producerName field is set.
-
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.
optional string producer_name = 2;- Specified by:
getProducerNamein interfaceOnnx.ModelProtoOrBuilder- Returns:
- The producerName.
-
getProducerNameBytes
public com.google.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.
optional string producer_name = 2;- Specified by:
getProducerNameBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for producerName.
-
setProducerName
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.
optional string producer_name = 2;- Parameters:
value- The producerName to set.- Returns:
- This builder for chaining.
-
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.
optional string producer_name = 2;- Returns:
- This builder for chaining.
-
setProducerNameBytes
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.
optional string producer_name = 2;- Parameters:
value- The bytes for producerName to set.- Returns:
- This builder for chaining.
-
hasProducerVersion
public boolean hasProducerVersion()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.
optional string producer_version = 3;- Specified by:
hasProducerVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the producerVersion field is set.
-
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.
optional string producer_version = 3;- Specified by:
getProducerVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The producerVersion.
-
getProducerVersionBytes
public com.google.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.
optional string producer_version = 3;- Specified by:
getProducerVersionBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for producerVersion.
-
setProducerVersion
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.
optional string producer_version = 3;- Parameters:
value- The producerVersion to set.- Returns:
- This builder for chaining.
-
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.
optional string producer_version = 3;- Returns:
- This builder for chaining.
-
setProducerVersionBytes
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.
optional string producer_version = 3;- Parameters:
value- The bytes for producerVersion to set.- Returns:
- This builder for chaining.
-
hasDomain
public boolean hasDomain()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.
optional string domain = 4;- Specified by:
hasDomainin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the domain field is set.
-
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.
optional string domain = 4;- Specified by:
getDomainin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.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.
optional string domain = 4;- Specified by:
getDomainBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
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.
optional string domain = 4;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
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.
optional string domain = 4;- Returns:
- This builder for chaining.
-
setDomainBytes
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.
optional string domain = 4;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
hasModelVersion
public boolean hasModelVersion()The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;- Specified by:
hasModelVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the modelVersion field is set.
-
getModelVersion
public long getModelVersion()The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;- Specified by:
getModelVersionin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The modelVersion.
-
setModelVersion
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;- Parameters:
value- The modelVersion to set.- Returns:
- This builder for chaining.
-
clearModelVersion
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;- Returns:
- This builder for chaining.
-
hasDocString
public boolean hasDocString()A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Specified by:
hasDocStringin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Specified by:
getDocStringin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Specified by:
getDocStringBytesin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Returns:
- This builder for chaining.
-
setDocStringBytes
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
hasGraph
public boolean hasGraph()The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;- Specified by:
hasGraphin interfaceOnnx.ModelProtoOrBuilder- Returns:
- Whether the graph field is set.
-
getGraph
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;- Specified by:
getGraphin interfaceOnnx.ModelProtoOrBuilder- Returns:
- The graph.
-
setGraph
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7; -
setGraph
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7; -
mergeGraph
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7; -
clearGraph
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7; -
getGraphBuilder
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7; -
getGraphOrBuilder
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;- Specified by:
getGraphOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsList
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsListin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsCount
public int getMetadataPropsCount()Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsCountin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsin interfaceOnnx.ModelProtoOrBuilder
-
setMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
setMetadataProps
public Onnx.ModelProto.Builder setMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addMetadataProps
public Onnx.ModelProto.Builder addMetadataProps(int index, Onnx.StringStringEntryProto.Builder builderForValue) Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addAllMetadataProps
public Onnx.ModelProto.Builder addAllMetadataProps(Iterable<? extends Onnx.StringStringEntryProto> values) Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
clearMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
removeMetadataProps
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
getMetadataPropsBuilder
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
getMetadataPropsOrBuilder
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsOrBuilderList
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;- Specified by:
getMetadataPropsOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addMetadataPropsBuilder
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
addMetadataPropsBuilder
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
getMetadataPropsBuilderList
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14; -
getTrainingInfoList
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;- Specified by:
getTrainingInfoListin interfaceOnnx.ModelProtoOrBuilder
-
getTrainingInfoCount
public int getTrainingInfoCount()Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;- Specified by:
getTrainingInfoCountin interfaceOnnx.ModelProtoOrBuilder
-
getTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;- Specified by:
getTrainingInfoin interfaceOnnx.ModelProtoOrBuilder
-
setTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
setTrainingInfo
public Onnx.ModelProto.Builder setTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue) Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addTrainingInfo
public Onnx.ModelProto.Builder addTrainingInfo(int index, Onnx.TrainingInfoProto.Builder builderForValue) Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addAllTrainingInfo
public Onnx.ModelProto.Builder addAllTrainingInfo(Iterable<? extends Onnx.TrainingInfoProto> values) Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
clearTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
removeTrainingInfo
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
getTrainingInfoBuilder
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
getTrainingInfoOrBuilder
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;- Specified by:
getTrainingInfoOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getTrainingInfoOrBuilderList
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;- Specified by:
getTrainingInfoOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addTrainingInfoBuilder
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
addTrainingInfoBuilder
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
getTrainingInfoBuilderList
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20; -
getFunctionsList
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;- Specified by:
getFunctionsListin interfaceOnnx.ModelProtoOrBuilder
-
getFunctionsCount
public int getFunctionsCount()A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;- Specified by:
getFunctionsCountin interfaceOnnx.ModelProtoOrBuilder
-
getFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;- Specified by:
getFunctionsin interfaceOnnx.ModelProtoOrBuilder
-
setFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
setFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addAllFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
clearFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
removeFunctions
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
getFunctionsBuilder
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
getFunctionsOrBuilder
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;- Specified by:
getFunctionsOrBuilderin interfaceOnnx.ModelProtoOrBuilder
-
getFunctionsOrBuilderList
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25;- Specified by:
getFunctionsOrBuilderListin interfaceOnnx.ModelProtoOrBuilder
-
addFunctionsBuilder
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
addFunctionsBuilder
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
getFunctionsBuilderList
A list of function protos local to the model. Name of the function "FunctionProto.name" should be unique within the domain "FunctionProto.domain". In case of any conflicts the behavior (whether the model local functions are given higher priority, or standard operator sets are given higher priotity or this is treated as error) is defined by the runtimes. The operator sets imported by FunctionProto should be compatible with the ones imported by ModelProto and other model local FunctionProtos. Example, if same operator set say 'A' is imported by a FunctionProto and ModelProto or by 2 FunctionProtos then versions for the operator set may be different but, the operator schema returned for op_type, domain, version combination for both the versions should be same for every node in the function body. One FunctionProto can reference other FunctionProto in the model, however, recursive reference is not allowed.
repeated .onnx.FunctionProto functions = 25; -
setUnknownFields
public final Onnx.ModelProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-
mergeUnknownFields
public final Onnx.ModelProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.ModelProto.Builder>
-