Searched refs:DoubleFromFractionAndShift (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | quantization_util_test.cc | 311 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/ |
D | quantization_util_test.cc | 273 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()
|
D | quantization_util.cc | 178 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()
|
D | quantization_util.h | 224 double DoubleFromFractionAndShift(int64_t fraction, int shift);
|