Searched refs:CalculateInputRadius (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util_test.cc | 403 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()
|
D | logsoftmax_quantized_test.cc | 170 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest() 221 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 | 120 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneSoftmaxTest()
|
D | quantization_util.cc | 302 int CalculateInputRadius(int input_integer_bits, int input_left_shift) { in CalculateInputRadius() function
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | activations.cc | 135 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/ |
D | softmax.cc | 52 data->diff_min = -1.0 * tflite::CalculateInputRadius( in CalculateSoftmaxOpData()
|