public static final class OnnxMl.TensorAnnotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder> implements OnnxMl.TensorAnnotationOrBuilder
onnx.TensorAnnotation| Modifier and Type | Method and Description |
|---|---|
OnnxMl.TensorAnnotation.Builder |
addAllQuantParameterTensorNames(java.lang.Iterable<? extends OnnxMl.StringStringEntryProto> values)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
addQuantParameterTensorNames(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
addQuantParameterTensorNames(int index,
OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
addQuantParameterTensorNames(OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
addQuantParameterTensorNames(OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.StringStringEntryProto.Builder |
addQuantParameterTensorNamesBuilder()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.StringStringEntryProto.Builder |
addQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TensorAnnotation |
build() |
OnnxMl.TensorAnnotation |
buildPartial() |
OnnxMl.TensorAnnotation.Builder |
clear() |
OnnxMl.TensorAnnotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TensorAnnotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TensorAnnotation.Builder |
clearQuantParameterTensorNames()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
clearTensorName()
optional string tensor_name = 1; |
OnnxMl.TensorAnnotation.Builder |
clone() |
OnnxMl.TensorAnnotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OnnxMl.StringStringEntryProto |
getQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.StringStringEntryProto.Builder |
getQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
java.util.List<OnnxMl.StringStringEntryProto.Builder> |
getQuantParameterTensorNamesBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
int |
getQuantParameterTensorNamesCount()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
java.util.List<OnnxMl.StringStringEntryProto> |
getQuantParameterTensorNamesList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.StringStringEntryProtoOrBuilder |
getQuantParameterTensorNamesOrBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
java.util.List<? extends OnnxMl.StringStringEntryProtoOrBuilder> |
getQuantParameterTensorNamesOrBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
java.lang.String |
getTensorName()
optional string tensor_name = 1; |
com.google.protobuf.ByteString |
getTensorNameBytes()
optional string tensor_name = 1; |
boolean |
hasTensorName()
optional string tensor_name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.TensorAnnotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TensorAnnotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
OnnxMl.TensorAnnotation.Builder |
mergeFrom(OnnxMl.TensorAnnotation other) |
OnnxMl.TensorAnnotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TensorAnnotation.Builder |
removeQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TensorAnnotation.Builder |
setQuantParameterTensorNames(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
setQuantParameterTensorNames(int index,
OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.
|
OnnxMl.TensorAnnotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
OnnxMl.TensorAnnotation.Builder |
setTensorName(java.lang.String value)
optional string tensor_name = 1; |
OnnxMl.TensorAnnotation.Builder |
setTensorNameBytes(com.google.protobuf.ByteString value)
optional string tensor_name = 1; |
OnnxMl.TensorAnnotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OnnxMl.TensorAnnotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TensorAnnotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TensorAnnotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder mergeFrom(OnnxMl.TensorAnnotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public OnnxMl.TensorAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.TensorAnnotation.Builder>java.io.IOExceptionpublic boolean hasTensorName()
optional string tensor_name = 1;hasTensorName in interface OnnxMl.TensorAnnotationOrBuilderpublic java.lang.String getTensorName()
optional string tensor_name = 1;getTensorName in interface OnnxMl.TensorAnnotationOrBuilderpublic com.google.protobuf.ByteString getTensorNameBytes()
optional string tensor_name = 1;getTensorNameBytes in interface OnnxMl.TensorAnnotationOrBuilderpublic OnnxMl.TensorAnnotation.Builder setTensorName(java.lang.String value)
optional string tensor_name = 1;value - The tensorName to set.public OnnxMl.TensorAnnotation.Builder clearTensorName()
optional string tensor_name = 1;public OnnxMl.TensorAnnotation.Builder setTensorNameBytes(com.google.protobuf.ByteString value)
optional string tensor_name = 1;value - The bytes for tensorName to set.public java.util.List<OnnxMl.StringStringEntryProto> getQuantParameterTensorNamesList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;getQuantParameterTensorNamesList in interface OnnxMl.TensorAnnotationOrBuilderpublic int getQuantParameterTensorNamesCount()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;getQuantParameterTensorNamesCount in interface OnnxMl.TensorAnnotationOrBuilderpublic OnnxMl.StringStringEntryProto getQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;getQuantParameterTensorNames in interface OnnxMl.TensorAnnotationOrBuilderpublic OnnxMl.TensorAnnotation.Builder setQuantParameterTensorNames(int index, OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder setQuantParameterTensorNames(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder addQuantParameterTensorNames(OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder addQuantParameterTensorNames(int index, OnnxMl.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder addQuantParameterTensorNames(OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder addQuantParameterTensorNames(int index, OnnxMl.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder addAllQuantParameterTensorNames(java.lang.Iterable<? extends OnnxMl.StringStringEntryProto> values)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder clearQuantParameterTensorNames()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.TensorAnnotation.Builder removeQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.StringStringEntryProto.Builder getQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.StringStringEntryProtoOrBuilder getQuantParameterTensorNamesOrBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;getQuantParameterTensorNamesOrBuilder in interface OnnxMl.TensorAnnotationOrBuilderpublic java.util.List<? extends OnnxMl.StringStringEntryProtoOrBuilder> getQuantParameterTensorNamesOrBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;getQuantParameterTensorNamesOrBuilderList in interface OnnxMl.TensorAnnotationOrBuilderpublic OnnxMl.StringStringEntryProto.Builder addQuantParameterTensorNamesBuilder()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public OnnxMl.StringStringEntryProto.Builder addQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public java.util.List<OnnxMl.StringStringEntryProto.Builder> getQuantParameterTensorNamesBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;public final OnnxMl.TensorAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>public final OnnxMl.TensorAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorAnnotation.Builder>