Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc159 TEST(QuantizationUtilTest, ChooseQuantizationParams) { in TEST() argument
160 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST()
166 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST()
174 EXPECT_DEATH(ChooseQuantizationParams<uint8>(10.0, 30.0), ""); in TEST()
179 EXPECT_DEATH(ChooseQuantizationParams<uint8>(30.0, 30.0), ""); in TEST()
184 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST()
190 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST()
330 EXPECT_DEATH(ChooseQuantizationParams<uint8>(10.0, -30.0), ""); in TEST()
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()
/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/toco/graph_transformations/
Dquantization_util.cc80 *quantization_params = ::tflite::ChooseQuantizationParams<DataType<A>>( in ChooseQuantizationParamsForArrayAndQuantizedDataType()