/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | fixedpoint_utils.h | 125 inline int CreateQConstantForInt24(int integer_bits, float f) { in CreateQConstantForInt24() argument 129 int fractional_bits = 23 - integer_bits; in CreateQConstantForInt24()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | portable_tensor_utils.h | 203 void ApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch, in ApplyTanh() argument 205 PortableApplyTanh(integer_bits, input, n_batch, n_input, output); in ApplyTanh() 209 int32_t integer_bits, int16_t* output) { in ApplyTanhFloat() argument 210 PortableApplyTanhFloat(input, n_batch, n_input, integer_bits, output); in ApplyTanhFloat()
|
D | portable_tensor_utils_impl.h | 158 void PortableApplyTanh(int32_t integer_bits, const int16_t* input, 162 int32_t n_input, int32_t integer_bits,
|
D | portable_tensor_utils.cc | 565 void PortableApplyTanh(int32_t integer_bits, const int16_t* input, in PortableApplyTanh() argument 567 assert(integer_bits <= 6); in PortableApplyTanh() 572 switch (integer_bits) { in PortableApplyTanh() 587 int32_t n_input, int32_t integer_bits, in PortableApplyTanhFloat() argument 596 input[index] * std::pow(two, static_cast<double>(integer_bits)); in PortableApplyTanhFloat()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | neon_tensor_utils.h | 171 void ApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch, in ApplyTanh() argument 173 NEON_OR_PORTABLE(ApplyTanh, integer_bits, input, n_batch, n_input, output); in ApplyTanh() 177 int32_t integer_bits, int16_t* output) { in ApplyTanhFloat() argument 178 PortableApplyTanhFloat(input, n_batch, n_input, integer_bits, output); in ApplyTanhFloat()
|
D | sse_tensor_utils.h | 185 int32_t integer_bits, int16_t* output) { in ApplyTanhFloat() argument 186 PortableApplyTanhFloat(input, n_batch, n_input, integer_bits, output); in ApplyTanhFloat()
|
D | neon_tensor_utils_impl.h | 70 void NeonApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch,
|
D | neon_tensor_utils.cc | 1700 void NeonApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch, in NeonApplyTanh() argument 1702 assert(integer_bits <= 6); in NeonApplyTanh() 1707 switch (integer_bits) { in NeonApplyTanh()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | tensor_utils_common.h | 238 void ApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch, 245 int32_t integer_bits, int16_t* output);
|
D | quantization_util_test.cc | 492 auto quantize = [](double beta, double scale, int integer_bits) { in TEST() argument 495 PreprocessSoftmaxScaling(beta, scale, integer_bits, &q, &s); in TEST()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | quantization_util_test.cc | 380 auto quantize = [](double beta, double scale, int integer_bits) { in TF_LITE_MICRO_TEST() argument 383 tflite::PreprocessSoftmaxScaling(beta, scale, integer_bits, &q, &s); in TF_LITE_MICRO_TEST()
|