Home
last modified time | relevance | path

Searched refs:ChooseQuantizationParams (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.h31 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()
Dquantization_util_test.cc162 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()
Dtensor_utils_test.cc275 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/
Dquantization_example.cc71 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/
Dquantization_util_test.cc206 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/
Dquantization_util.cc80 *quantization_params = ::tflite::ChooseQuantizationParams<DataType<A>>( in ChooseQuantizationParamsForArrayAndQuantizedDataType()