Searched refs:DoubleFromFractionAndShift (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util_test.cc | 270 TEST(QuantizationUtilTest, DoubleFromFractionAndShift) { in TEST() argument 271 double result = DoubleFromFractionAndShift(0, 0); in TEST() 274 result = DoubleFromFractionAndShift(0x40000000, 1); in TEST() 277 result = DoubleFromFractionAndShift(0x40000000, 2); in TEST() 282 result = DoubleFromFractionAndShift(fraction, shift); in TEST() 286 result = DoubleFromFractionAndShift(fraction, shift); in TEST() 290 result = DoubleFromFractionAndShift(fraction, shift); in TEST() 294 result = DoubleFromFractionAndShift(fraction, shift); in TEST() 298 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
|
D | quantization_util.cc | 163 double DoubleFromFractionAndShift(int64_t fraction, int shift) { in DoubleFromFractionAndShift() function 222 return DoubleFromFractionAndShift(result_fraction, result_shift); in IntegerDoubleMultiply() 272 DoubleFromFractionAndShift(fraction, shift); in PreprocessSoftmaxScaling()
|
D | quantization_util.h | 224 double DoubleFromFractionAndShift(int64_t fraction, int shift);
|