Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.h162 int GetPowerOfTwoScale(float min, float max);
Dquantization_utils_test.cc813 EXPECT_EQ(GetPowerOfTwoScale(-1.0, 1.0), 0); in TEST_F()
814 EXPECT_EQ(GetPowerOfTwoScale(-10.0, 10.0), 4); in TEST_F()
815 EXPECT_EQ(GetPowerOfTwoScale(3.0, 10.0), 4); in TEST_F()
Dquantization_utils.cc755 int GetPowerOfTwoScale(float min, float max) { in GetPowerOfTwoScale() function
Dquantize_model.cc725 const int power_of_two_scale = utils::GetPowerOfTwoScale( in QuantizeOpInput()