Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantization_util_test.cc311 double result = tflite::DoubleFromFractionAndShift(0, 0); in TF_LITE_MICRO_TEST()
314 result = tflite::DoubleFromFractionAndShift(0x40000000, 1); in TF_LITE_MICRO_TEST()
317 result = tflite::DoubleFromFractionAndShift(0x40000000, 2); in TF_LITE_MICRO_TEST()
322 result = tflite::DoubleFromFractionAndShift(fraction, shift); in TF_LITE_MICRO_TEST()
326 result = tflite::DoubleFromFractionAndShift(fraction, shift); in TF_LITE_MICRO_TEST()
330 result = tflite::DoubleFromFractionAndShift(fraction, shift); in TF_LITE_MICRO_TEST()
334 result = tflite::DoubleFromFractionAndShift(fraction, shift); in TF_LITE_MICRO_TEST()
338 result = tflite::DoubleFromFractionAndShift(fraction, shift); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc273 TEST(QuantizationUtilTest, DoubleFromFractionAndShift) { in TEST() argument
274 double result = DoubleFromFractionAndShift(0, 0); in TEST()
277 result = DoubleFromFractionAndShift(0x40000000, 1); in TEST()
280 result = DoubleFromFractionAndShift(0x40000000, 2); in TEST()
285 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
289 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
293 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
297 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
301 result = DoubleFromFractionAndShift(fraction, shift); in TEST()
Dquantization_util.cc178 double DoubleFromFractionAndShift(int64_t fraction, int shift) { in DoubleFromFractionAndShift() function
237 return DoubleFromFractionAndShift(result_fraction, result_shift); in IntegerDoubleMultiply()
287 DoubleFromFractionAndShift(fraction, shift); in PreprocessSoftmaxScaling()
Dquantization_util.h224 double DoubleFromFractionAndShift(int64_t fraction, int shift);