Searched refs:GetPowerOfTwoScale (Results 1 – 4 of 4) sorted by relevance
162 int GetPowerOfTwoScale(float min, float max);
813 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()
755 int GetPowerOfTwoScale(float min, float max) { in GetPowerOfTwoScale() function
725 const int power_of_two_scale = utils::GetPowerOfTwoScale( in QuantizeOpInput()