Home
last modified time | relevance | path

Searched refs:FixedPoint0 (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h263 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in log_x_for_x_greater_than_or_equal_to_1_impl() local
270 const FixedPoint0 log_2 = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
271 FixedPoint0, 1488522236, std::log(2.0)); in log_x_for_x_greater_than_or_equal_to_1_impl()
272 const FixedPoint0 sqrt_sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
273 FixedPoint0, 1805811301, std::sqrt(std::sqrt(0.5))); in log_x_for_x_greater_than_or_equal_to_1_impl()
274 const FixedPoint0 sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
275 FixedPoint0, 1518500250, std::sqrt(0.5)); in log_x_for_x_greater_than_or_equal_to_1_impl()
276 const FixedPoint0 one_quarter = in log_x_for_x_greater_than_or_equal_to_1_impl()
277 GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT(FixedPoint0, 536870912, 1.0 / 4.0); in log_x_for_x_greater_than_or_equal_to_1_impl()
279 const FixedPoint0 alpha_n = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dsoftmax.h40 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Softmax() local
70 FixedPoint0 shifted_scale = FixedPoint0::FromRaw(GetReciprocal( in Softmax()
83 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dsoftmax.h76 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Softmax() local
106 FixedPoint0 shifted_scale = FixedPoint0::FromRaw(GetReciprocal( in Softmax()
119 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
Dreference_ops.h2731 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Logistic() local
2733 const FixedPoint0 output_val_f0 = gemmlowp::logistic(input_val_f4); in Logistic()
2812 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Tanh() local
2814 const FixedPoint0 output_val_f0 = gemmlowp::tanh(input_val_f4); in Tanh()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h4592 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Softmax() local
4724 FixedPoint0 shifted_scale = gemmlowp::one_over_one_plus_x_for_x_in_0_1( in Softmax()
4725 FixedPoint0::FromRaw(shifted_sum_minus_one)); in Softmax()
4773 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
4852 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in log_x_for_x_greater_than_or_equal_to_1_impl() local
4859 const FixedPoint0 log_2 = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
4860 FixedPoint0, 1488522236, std::log(2.0)); in log_x_for_x_greater_than_or_equal_to_1_impl()
4861 const FixedPoint0 sqrt_sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
4862 FixedPoint0, 1805811301, std::sqrt(std::sqrt(0.5))); in log_x_for_x_greater_than_or_equal_to_1_impl()
4863 const FixedPoint0 sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h4467 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Softmax() local
4599 FixedPoint0 shifted_scale = gemmlowp::one_over_one_plus_x_for_x_in_0_1( in Softmax()
4600 FixedPoint0::FromRaw(shifted_sum_minus_one)); in Softmax()
4648 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
4878 using FixedPoint0 = gemmlowp::FixedPoint<int32x4_t, 0>; in Logistic() local
4887 const FixedPoint0 output_val_f0_0 = gemmlowp::logistic(input_val_f4_0); in Logistic()
4888 const FixedPoint0 output_val_f0_1 = gemmlowp::logistic(input_val_f4_1); in Logistic()
4889 const FixedPoint0 output_val_f0_2 = gemmlowp::logistic(input_val_f4_2); in Logistic()
4890 const FixedPoint0 output_val_f0_3 = gemmlowp::logistic(input_val_f4_3); in Logistic()
4931 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Logistic() local
[all …]