Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h535 using FixedPoint0 = gemmlowp::FixedPoint<int32_t, 0>; in log_x_for_x_greater_than_or_equal_to_1_impl() local
542 const FixedPoint0 log_2 = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
543 FixedPoint0, 1488522236, std::log(2.0)); in log_x_for_x_greater_than_or_equal_to_1_impl()
544 const FixedPoint0 sqrt_sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
545 FixedPoint0, 1805811301, std::sqrt(std::sqrt(0.5))); in log_x_for_x_greater_than_or_equal_to_1_impl()
546 const FixedPoint0 sqrt_half = GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT( in log_x_for_x_greater_than_or_equal_to_1_impl()
547 FixedPoint0, 1518500250, std::sqrt(0.5)); in log_x_for_x_greater_than_or_equal_to_1_impl()
548 const FixedPoint0 one_quarter = in log_x_for_x_greater_than_or_equal_to_1_impl()
549 GEMMLOWP_CHECKED_FIXEDPOINT_CONSTANT(FixedPoint0, 536870912, 1.0 / 4.0); in log_x_for_x_greater_than_or_equal_to_1_impl()
551 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/
Dsoftmax.h84 using FixedPoint0 = gemmlowp::FixedPoint<int32_t, 0>; in Softmax() local
114 FixedPoint0 shifted_scale = FixedPoint0::FromRaw(GetReciprocal( in Softmax()
127 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
Dtanh.h107 using FixedPoint0 = gemmlowp::FixedPoint<int32_t, 0>; in Tanh() local
109 const FixedPoint0 output_val_f0 = gemmlowp::tanh(input_val_f4); in Tanh()
Dlegacy_reference_ops.h811 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Logistic() local
813 const FixedPoint0 output_val_f0 = gemmlowp::logistic(input_val_f4); in Logistic()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h4006 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Softmax() local
4129 FixedPoint0 shifted_scale = FixedPoint0::FromRaw(GetReciprocal( in Softmax()
4178 FixedPoint0 exp_in_0 = exp_on_negative_values(scaled_diff_f8); in Softmax()
4336 using FixedPoint0 = gemmlowp::FixedPoint<int32x4_t, 0>; in Logistic() local
4345 const FixedPoint0 output_val_f0_0 = gemmlowp::logistic(input_val_f4_0); in Logistic()
4346 const FixedPoint0 output_val_f0_1 = gemmlowp::logistic(input_val_f4_1); in Logistic()
4347 const FixedPoint0 output_val_f0_2 = gemmlowp::logistic(input_val_f4_2); in Logistic()
4348 const FixedPoint0 output_val_f0_3 = gemmlowp::logistic(input_val_f4_3); in Logistic()
4389 using FixedPoint0 = gemmlowp::FixedPoint<int32, 0>; in Logistic() local
4391 const FixedPoint0 output_val_f0 = gemmlowp::logistic(input_val_f4); in Logistic()
[all …]
Doptimized_ops.h7080 using FixedPoint0 = gemmlowp::FixedPoint<int16x8_t, 0>; in FixedPoint4Logistic() local
7091 const FixedPoint0 output_val_f0_0 = gemmlowp::logistic(input_val_f4_0); in FixedPoint4Logistic()
7092 const FixedPoint0 output_val_f0_1 = gemmlowp::logistic(input_val_f4_1); in FixedPoint4Logistic()
7093 const FixedPoint0 output_val_f0_2 = gemmlowp::logistic(input_val_f4_2); in FixedPoint4Logistic()
7094 const FixedPoint0 output_val_f0_3 = gemmlowp::logistic(input_val_f4_3); in FixedPoint4Logistic()
7110 using FixedPoint0 = gemmlowp::FixedPoint<int16x8_t, 0>; in FixedPoint4Tanh() local
7121 const FixedPoint0 output_val_f0_0 = gemmlowp::tanh(input_val_f4_0); in FixedPoint4Tanh()
7122 const FixedPoint0 output_val_f0_1 = gemmlowp::tanh(input_val_f4_1); in FixedPoint4Tanh()
7123 const FixedPoint0 output_val_f0_2 = gemmlowp::tanh(input_val_f4_2); in FixedPoint4Tanh()
7124 const FixedPoint0 output_val_f0_3 = gemmlowp::tanh(input_val_f4_3); in FixedPoint4Tanh()
[all …]