Searched refs:getStorageTypeMin (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | convert_tfl_uint8.cc | 91 static_cast<double>(output_element_type.getStorageTypeMin() - in matchAndRewrite() 99 output_element_type.getStorageTypeMin() == 1 ? true : false; in matchAndRewrite() 165 static_cast<double>(uint8_element_type.getStorageTypeMin() - in convert_graph_uint8_tensor() 173 uint8_element_type.getStorageTypeMin() == 1 ? true : false; in convert_graph_uint8_tensor() 234 static_cast<double>(output_element_type.getStorageTypeMin() - in convert_graph_uint8_tensor() 242 output_element_type.getStorageTypeMin() == 1 ? true : false; in convert_graph_uint8_tensor()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | device_target.cc | 71 quant.getStorageTypeMin(), quant.getStorageTypeMax())); in AppendToSignature() 140 o_spec.getStorageTypeMin(), o_spec.getStorageTypeMax())); in DecomposeMultiplyAccumulateScale() 175 o_spec.getStorageTypeMin(), o_spec.getStorageTypeMax())); in DecomposeSameScale()
|
D | quantization_utils.cc | 145 qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); in RescaleQuantizedType() 247 scales, zero_points, quant_dim, qtype.getStorageTypeMin(), in ResetAxisAndBroadcast() 472 q_type.getStorageTypeMin() == -127) { in QuantizeLegacy() 561 (type.getStorageTypeMax() - type.getStorageTypeMin()); in DownCastScale() 573 scales[0], q_type.getZeroPoint(), q_type.getStorageTypeMin(), in DownCastScale() 579 q_type.getStorageTypeMin(), q_type.getStorageTypeMax()); in DownCastScale()
|
D | quantization_utils.h | 408 uqtype.getStorageTypeMin() - offset, in matchAndRewrite() 421 aqtype.getStorageTypeMin() - offset, in matchAndRewrite()
|
/external/llvm-project/mlir/test/lib/Dialect/Tosa/ |
D | TosaTestPasses.cpp | 67 double typeRangeMin = double(outputElementType.getStorageTypeMin() - in matchAndRewrite() 73 bool narrow_range = outputElementType.getStorageTypeMin() == 1 ? true : false; in matchAndRewrite()
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | UniformSupport.h | 65 static_cast<double>(uniformType.getStorageTypeMin()), in UniformQuantizedValueConverter() 179 clampMin(static_cast<double>(uniformType.getStorageTypeMin())), in UniformQuantizedPerAxisValueConverter()
|
D | QuantTypes.h | 115 int64_t getStorageTypeMin() const;
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | TypeParser.cpp | 355 if (defaultIntegerMin != type.getStorageTypeMin() || in printStorageType() 357 out << "<" << type.getStorageTypeMin() << ":" << type.getStorageTypeMax() in printStorageType()
|
D | QuantTypes.cpp | 66 int64_t QuantizedType::getStorageTypeMin() const { in getStorageTypeMin() function in QuantizedType
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 508 qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); in GetUniformQuantizedTypeForBiasWithScale()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_import.cc | 887 per_axis.getStorageTypeMin() - 1, per_axis.getStorageTypeMax()); in PostProcessFuncOp() 893 per_tensor.getZeroPoint(), per_tensor.getStorageTypeMin() - 1, in PostProcessFuncOp()
|