Package ai.onnx.proto
Interface OnnxMl.TensorAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnnxMl.TensorAnnotation
,OnnxMl.TensorAnnotation.Builder
- Enclosing class:
- OnnxMl
public static interface OnnxMl.TensorAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetQuantParameterTensorNames
(int index) <key, value> pairs to annotate tensor specified by <tensor_name> above.int
<key, value> pairs to annotate tensor specified by <tensor_name> above.<key, value> pairs to annotate tensor specified by <tensor_name> above.getQuantParameterTensorNamesOrBuilder
(int index) <key, value> pairs to annotate tensor specified by <tensor_name> above.List<? extends OnnxMl.StringStringEntryProtoOrBuilder>
<key, value> pairs to annotate tensor specified by <tensor_name> above.optional string tensor_name = 1;
com.google.protobuf.ByteString
optional string tensor_name = 1;
boolean
optional string tensor_name = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTensorName
boolean hasTensorName()optional string tensor_name = 1;
- Returns:
- Whether the tensorName field is set.
-
getTensorName
String getTensorName()optional string tensor_name = 1;
- Returns:
- The tensorName.
-
getTensorNameBytes
com.google.protobuf.ByteString getTensorNameBytes()optional string tensor_name = 1;
- Returns:
- The bytes for tensorName.
-
getQuantParameterTensorNamesList
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;
-
getQuantParameterTensorNames
<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
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;
-
getQuantParameterTensorNamesOrBuilderList
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;
-
getQuantParameterTensorNamesOrBuilder
<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;
-