Searched refs:ChooseQuantizationParams (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.h | 31 QuantizationParams ChooseQuantizationParams(double rmin, double rmax, in ChooseQuantizationParams() function 102 QuantizationParams ChooseQuantizationParams(double rmin, double rmax) { in ChooseQuantizationParams() function 103 return ChooseQuantizationParams<T>(rmin, rmax, false); in ChooseQuantizationParams()
|
D | quantization_util_test.cc | 162 TEST(QuantizationUtilTest, ChooseQuantizationParams) { in TEST() argument 163 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST() 169 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST() 177 EXPECT_DEATH(ChooseQuantizationParams<uint8>(10.0, 30.0), ""); in TEST() 182 EXPECT_DEATH(ChooseQuantizationParams<uint8>(30.0, 30.0), ""); in TEST() 187 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST() 193 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST() 333 EXPECT_DEATH(ChooseQuantizationParams<uint8>(10.0, -30.0), ""); in TEST()
|
D | tensor_utils_test.cc | 275 ChooseQuantizationParams<int8_t>(min, max); in TEST() 310 ChooseQuantizationParams<int8_t>(min, max); in TEST() 331 ChooseQuantizationParams<int8_t>(min, max); in TEST()
|
/external/gemmlowp/doc/ |
D | quantization_example.cc | 71 QuantizationParams ChooseQuantizationParams(float min, float max) { in ChooseQuantizationParams() function 303 const auto lhs_qparams = ChooseQuantizationParams(lhs_min, lhs_max); in main() 304 const auto rhs_qparams = ChooseQuantizationParams(rhs_min, rhs_max); in main() 305 const auto result_qparams = ChooseQuantizationParams(result_min, result_max); in main()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | quantization_util_test.cc | 206 tflite::ChooseQuantizationParams<uint8_t>(-10.0, 30.0); in TF_LITE_MICRO_TEST() 214 tflite::ChooseQuantizationParams<uint8_t>(0.0, 30.0); in TF_LITE_MICRO_TEST() 222 tflite::ChooseQuantizationParams<uint8_t>(0.0, 0.0); in TF_LITE_MICRO_TEST() 230 tflite::ChooseQuantizationParams<uint8_t>(-10.0, 0.0); in TF_LITE_MICRO_TEST()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | quantization_util.cc | 80 *quantization_params = ::tflite::ChooseQuantizationParams<DataType<A>>( in ChooseQuantizationParamsForArrayAndQuantizedDataType()
|