Home
last modified time | relevance | path

Searched refs:CalculateInputRadius (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc510 TEST(QuantizationUtilTest, CalculateInputRadius) { in TEST() argument
511 EXPECT_EQ(CalculateInputRadius(4, 27), 15); in TEST()
512 EXPECT_EQ(CalculateInputRadius(3, 27), 14); in TEST()
513 EXPECT_EQ(CalculateInputRadius(3, 28), 7); in TEST()
514 EXPECT_EQ(CalculateInputRadius(4, 2), 503316480); in TEST()
Dlogsoftmax_quantized_test.cc170 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest()
227 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest()
Dquantization_util.h255 int CalculateInputRadius(int input_integer_bits, int input_left_shift,
Dsoftmax_quantized_test.cc125 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneSoftmaxTest()
Dquantization_util.cc317 int CalculateInputRadius(int input_integer_bits, int input_left_shift, in CalculateInputRadius() function
/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantization_util_test.cc410 TF_LITE_MICRO_EXPECT_EQ(tflite::CalculateInputRadius(4, 27), 15); in TF_LITE_MICRO_TEST()
411 TF_LITE_MICRO_EXPECT_EQ(tflite::CalculateInputRadius(3, 27), 14); in TF_LITE_MICRO_TEST()
412 TF_LITE_MICRO_EXPECT_EQ(tflite::CalculateInputRadius(3, 28), 7); in TF_LITE_MICRO_TEST()
413 TF_LITE_MICRO_EXPECT_EQ(tflite::CalculateInputRadius(4, 2), 503316480); in TF_LITE_MICRO_TEST()
Dlogistic.cc66 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 31); in CalculateArithmeticOpData()
Dsoftmax_common.cc78 -1.0 * tflite::CalculateInputRadius(kScaledDiffIntegerBits, in CalculateSoftmaxParams()
Dtanh.cc70 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 31); in CalculateArithmeticOpData()
/external/tensorflow/tensorflow/lite/kernels/
Dactivations.cc409 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 15); in TanhPrepare()
514 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 15); in SigmoidPrepare()