Home
last modified time | relevance | path

Searched refs:DoubleFromFractionAndShift (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc270 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()
Dquantization_util.cc163 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()
Dquantization_util.h224 double DoubleFromFractionAndShift(int64_t fraction, int shift);