Searched refs:kScaledDiffIntegerBits (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | logsoftmax_quantized_test.cc | 162 static const int kScaledDiffIntegerBits = 5; in RunOneLogSoftmaxTest() local 164 beta, input_scale, kScaledDiffIntegerBits, &input_beta_multiplier, in RunOneLogSoftmaxTest() 170 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest() 213 static const int kScaledDiffIntegerBits = 5; in RunOneLogSoftmaxTest() local 215 beta, input_scale, kScaledDiffIntegerBits, &input_beta_multiplier, in RunOneLogSoftmaxTest() 221 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneLogSoftmaxTest()
|
D | softmax_quantized_test.cc | 114 static const int kScaledDiffIntegerBits = 5; in RunOneSoftmaxTest() local 115 tflite::PreprocessSoftmaxScaling(beta, input_scale, kScaledDiffIntegerBits, in RunOneSoftmaxTest() 120 const int diff_min = -tflite::CalculateInputRadius(kScaledDiffIntegerBits, in RunOneSoftmaxTest()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | softmax.cc | 47 static const int kScaledDiffIntegerBits = 5; in CalculateSoftmaxOpData() local 50 params->beta, input->params.scale, kScaledDiffIntegerBits, in CalculateSoftmaxOpData() 53 kScaledDiffIntegerBits, data->input_left_shift); in CalculateSoftmaxOpData()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | softmax.h | 35 static const int kScaledDiffIntegerBits = 5; in Softmax() local 38 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in Softmax()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | softmax.h | 71 static const int kScaledDiffIntegerBits = 5; in Softmax() local 74 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in Softmax()
|
D | reference_ops.h | 2613 static constexpr int kScaledDiffIntegerBits = 5; in LogSoftmax() local 2617 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in LogSoftmax() 2648 log_x_for_x_greater_than_or_equal_to_1<kScaledDiffIntegerBits>( in LogSoftmax() 2675 31 - kScaledDiffIntegerBits - kOutputIntegerBits) + in LogSoftmax()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | activations.cc | 253 static const int kScaledDiffIntegerBits = 5; in SoftmaxPrepare() local 255 params->beta, input->params.scale, kScaledDiffIntegerBits, in SoftmaxPrepare() 258 kScaledDiffIntegerBits, data->input_left_shift); in SoftmaxPrepare() 284 static const int kScaledDiffIntegerBits = 5; in LogSoftmaxPrepare() local 286 kBeta, input->params.scale, kScaledDiffIntegerBits, in LogSoftmaxPrepare() 291 kScaledDiffIntegerBits, data->input_left_shift); in LogSoftmaxPrepare()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 4462 static const int kScaledDiffIntegerBits = 5; in Softmax() local 4465 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in Softmax() 4515 gemmlowp::FixedPoint<int32x4_t, kScaledDiffIntegerBits>; in Softmax() 4714 static constexpr int kScaledDiffIntegerBits = 5; in LogSoftmax() local 4718 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in LogSoftmax() 4750 log_x_for_x_greater_than_or_equal_to_1<kScaledDiffIntegerBits>( in LogSoftmax() 4776 31 - kScaledDiffIntegerBits - kOutputIntegerBits) + in LogSoftmax()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 4587 static const int kScaledDiffIntegerBits = 5; in Softmax() local 4590 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in Softmax() 4640 gemmlowp::FixedPoint<int32x4_t, kScaledDiffIntegerBits>; in Softmax() 4974 static constexpr int kScaledDiffIntegerBits = 5; in LogSoftmax() local 4978 gemmlowp::FixedPoint<int32, kScaledDiffIntegerBits>; in LogSoftmax() 5011 log_x_for_x_greater_than_or_equal_to_1<kScaledDiffIntegerBits>( in LogSoftmax() 5037 31 - kScaledDiffIntegerBits - kOutputIntegerBits) + in LogSoftmax()
|