Searched refs:CalculateInputRadius (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util_test.cc | 510 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()
|
D | logsoftmax_quantized_test.cc | 170 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest() 227 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest()
|
D | quantization_util.h | 255 int CalculateInputRadius(int input_integer_bits, int input_left_shift,
|
D | softmax_quantized_test.cc | 125 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneSoftmaxTest()
|
D | quantization_util.cc | 317 int CalculateInputRadius(int input_integer_bits, int input_left_shift, in CalculateInputRadius() function
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | quantization_util_test.cc | 410 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()
|
D | logistic.cc | 66 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 31); in CalculateArithmeticOpData()
|
D | softmax_common.cc | 78 -1.0 * tflite::CalculateInputRadius(kScaledDiffIntegerBits, in CalculateSoftmaxParams()
|
D | tanh.cc | 70 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 31); in CalculateArithmeticOpData()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | activations.cc | 409 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 15); in TanhPrepare() 514 CalculateInputRadius(kInputIntegerBits, data->input_left_shift, 15); in SigmoidPrepare()
|