/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | logistic.h | 24 inline void Logistic(int32_t input_zero_point, int32_t input_range_radius, in Logistic() argument 38 if (input <= -input_range_radius) { in Logistic() 40 } else if (input >= input_range_radius) { in Logistic()
|
D | tanh.h | 24 inline void Tanh(int32_t input_zero_point, int32_t input_range_radius, in Tanh() argument 38 if (input <= -input_range_radius) { in Tanh() 40 } else if (input >= input_range_radius) { in Tanh()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | activations.cc | 48 int32_t input_range_radius = 0; member 134 data->input_range_radius = in TanhPrepare() 203 data->input_range_radius = in SigmoidPrepare() 451 params.input_range_radius = data->input_range_radius; in TanhEval() 470 input->params.zero_point, data->input_range_radius, in TanhEval() 518 params.input_range_radius = data->input_range_radius; in SigmoidEval() 536 input->params.zero_point, data->input_range_radius, in SigmoidEval()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 1500 int32 input_zero_point, int32 input_range_radius, in Logistic() argument 1505 params.input_range_radius = input_range_radius; in Logistic() 1518 int32 input_zero_point, int32 input_range_radius, in Logistic() argument 1522 input_range_radius, input_multiplier, input_left_shift, output_data, in Logistic() 1553 int32 input_zero_point, int32 input_range_radius, in Tanh() argument 1558 params.input_range_radius = input_range_radius; in Tanh() 1565 int32 input_zero_point, int32 input_range_radius, in Tanh() argument 1569 input_range_radius, input_multiplier, input_left_shift, output_data, in Tanh()
|
D | optimized_ops.h | 4812 const int32 input_range_radius = params.input_range_radius; in Logistic() local 4839 vcgtq_s16(input_val_centered_0, vdupq_n_s16(input_range_radius)); in Logistic() 4841 vcgtq_s16(input_val_centered_1, vdupq_n_s16(input_range_radius)); in Logistic() 4843 vcgeq_s16(input_val_centered_0, vdupq_n_s16(-input_range_radius)); in Logistic() 4845 vcgeq_s16(input_val_centered_1, vdupq_n_s16(-input_range_radius)); in Logistic() 4922 if (input_val_centered < -input_range_radius) { in Logistic() 4924 } else if (input_val_centered > input_range_radius) { in Logistic() 5031 const int32 input_range_radius = params.input_range_radius; in Tanh() local 5059 vcgtq_s16(input_val_centered_0, vdupq_n_s16(input_range_radius)); in Tanh() 5061 vcgtq_s16(input_val_centered_1, vdupq_n_s16(input_range_radius)); in Tanh() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 739 int32 input_zero_point, int32 input_range_radius, in Logistic() argument 744 params.input_range_radius = input_range_radius; in Logistic() 758 int32 input_zero_point, int32 input_range_radius, in Tanh() argument 763 params.input_range_radius = input_range_radius; in Tanh() 1717 int32 input_zero_point, int32 input_range_radius, in Logistic() argument 1721 input_range_radius, input_multiplier, input_left_shift, output_data, in Logistic() 1738 int32 input_zero_point, int32 input_range_radius, in Tanh() argument 1742 input_range_radius, input_multiplier, input_left_shift, output_data, in Tanh()
|
D | reference_ops.h | 2712 const int32 input_range_radius = params.input_range_radius; in Logistic() local 2722 if (input_val_centered <= -input_range_radius) { in Logistic() 2724 } else if (input_val_centered >= input_range_radius) { in Logistic() 2792 const int32 input_range_radius = params.input_range_radius; in Tanh() local 2803 if (input_val_centered <= -input_range_radius) { in Tanh() 2805 } else if (input_val_centered >= input_range_radius) { in Tanh()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | softmax.cc | 34 int32_t input_range_radius = 0; member
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 5089 const int32 input_range_radius = params.input_range_radius; in Logistic() local 5116 vcgtq_s16(input_val_centered_0, vdupq_n_s16(input_range_radius)); in Logistic() 5118 vcgtq_s16(input_val_centered_1, vdupq_n_s16(input_range_radius)); in Logistic() 5120 vcgeq_s16(input_val_centered_0, vdupq_n_s16(-input_range_radius)); in Logistic() 5122 vcgeq_s16(input_val_centered_1, vdupq_n_s16(-input_range_radius)); in Logistic() 5199 if (input_val_centered < -input_range_radius) { in Logistic() 5201 } else if (input_val_centered > input_range_radius) { in Logistic() 5227 int32 input_zero_point, int32 input_range_radius, in Logistic() argument 5232 params.input_range_radius = input_range_radius; in Logistic() 5340 const int32 input_range_radius = params.input_range_radius; in Tanh() local [all …]
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
D | types.h | 850 int32 input_range_radius; member 957 int32 input_range_radius; member
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | types.h | 873 int32 input_range_radius; member 1002 int32 input_range_radius; member
|