Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc403 TEST(QuantizationUtilTest, CalculateInputRadius) { in TEST() argument
404 EXPECT_EQ(CalculateInputRadius(4, 27), 15); in TEST()
405 EXPECT_EQ(CalculateInputRadius(3, 27), 14); in TEST()
406 EXPECT_EQ(CalculateInputRadius(3, 28), 7); in TEST()
407 EXPECT_EQ(CalculateInputRadius(4, 2), 503316480); in TEST()
Dlogsoftmax_quantized_test.cc170 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest()
221 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.cc120 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneSoftmaxTest()
Dquantization_util.cc302 int CalculateInputRadius(int input_integer_bits, int input_left_shift) { in CalculateInputRadius() function
/external/tensorflow/tensorflow/lite/kernels/
Dactivations.cc135 CalculateInputRadius(kInputIntegerBits, data->input_left_shift); in TanhPrepare()
204 CalculateInputRadius(kInputIntegerBits, data->input_left_shift); in SigmoidPrepare()
257 data->diff_min = -1.0 * tflite::CalculateInputRadius( in SoftmaxPrepare()
290 data->diff_min = -1.0 * tflite::CalculateInputRadius( in LogSoftmaxPrepare()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dsoftmax.cc52 data->diff_min = -1.0 * tflite::CalculateInputRadius( in CalculateSoftmaxOpData()