Home
last modified time | relevance | path

Searched refs:kInputIntegerBits (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dlog_softmax.h37 static constexpr int kInputIntegerBits = 5; in LogSoftmax() local
40 using F5 = gemmlowp::FixedPoint<int32, kInputIntegerBits>; in LogSoftmax()
67 log_x_for_x_greater_than_or_equal_to_1<kInputIntegerBits>( in LogSoftmax()
93 31 - kInputIntegerBits - kOutputIntegerBits) + in LogSoftmax()
Dlogistic.h29 static constexpr int32_t kInputIntegerBits = 4; in Logistic() local
45 using FixedPoint4 = gemmlowp::FixedPoint<int32_t, kInputIntegerBits>; in Logistic()
Dtanh.h29 static constexpr int32_t kInputIntegerBits = 4; in Tanh() local
33 using F4 = gemmlowp::FixedPoint<int32_t, kInputIntegerBits>; in Tanh()
/external/tensorflow/tensorflow/lite/kernels/
Dactivations.cc125 static constexpr int kInputIntegerBits = 4; in TanhPrepare() local
129 static_cast<double>(1 << (31 - kInputIntegerBits)); in TanhPrepare()
135 CalculateInputRadius(kInputIntegerBits, data->input_left_shift); in TanhPrepare()
137 static constexpr int kInputIntegerBits = 3; in TanhPrepare() local
163 (15 - kInputIntegerBits) + input_scale_log2_rounded; in TanhPrepare()
194 static constexpr int kInputIntegerBits = 4; in SigmoidPrepare() local
198 static_cast<double>(1 << (31 - kInputIntegerBits)); in SigmoidPrepare()
204 CalculateInputRadius(kInputIntegerBits, data->input_left_shift); in SigmoidPrepare()
206 static constexpr int kInputIntegerBits = 3; in SigmoidPrepare() local
226 (15 - kInputIntegerBits) + input_scale_log2_rounded; in SigmoidPrepare()