/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.cc | 52 void QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, in QuantizeMultiplier() argument 55 *quantized_multiplier = 0; in QuantizeMultiplier() 89 *quantized_multiplier = static_cast<int32_t>(q_fixed); in QuantizeMultiplier() 93 int32_t* quantized_multiplier, in QuantizeMultiplierGreaterThanOne() argument 96 QuantizeMultiplier(double_multiplier, quantized_multiplier, left_shift); in QuantizeMultiplierGreaterThanOne() 101 int32_t* quantized_multiplier, in QuantizeMultiplierSmallerThanOneExp() argument 106 QuantizeMultiplier(double_multiplier, quantized_multiplier, &shift); in QuantizeMultiplierSmallerThanOneExp() 270 int32_t* quantized_multiplier, int* left_shift) { in PreprocessSoftmaxScaling() argument 296 quantized_multiplier, left_shift); in PreprocessSoftmaxScaling() 301 int32_t* quantized_multiplier, in PreprocessLogSoftmaxScalingExp() argument [all …]
|
D | quantization_util.h | 177 int32_t* quantized_multiplier, 185 int32_t* quantized_multiplier, 195 void QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, 242 int32_t* quantized_multiplier, int* left_shift); 246 int32_t* quantized_multiplier,
|
D | common.h | 134 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierSmallerThanOneExp() argument 138 SaturatingRoundingDoublingHighMul(x, quantized_multiplier), -left_shift); in MultiplyByQuantizedMultiplierSmallerThanOneExp() 142 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierGreaterThanOne() argument 145 quantized_multiplier); in MultiplyByQuantizedMultiplierGreaterThanOne() 148 inline int32 MultiplyByQuantizedMultiplier(int32 x, int32 quantized_multiplier, in MultiplyByQuantizedMultiplier() argument 155 x * (1 << left_shift), quantized_multiplier), in MultiplyByQuantizedMultiplier()
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa-hifimini/ |
D | fixedpoint_utils.h | 52 int32_t quantized_multiplier, in MultiplyByQuantizedMultiplier() argument 96 AE_CONVERT_INT32_24x2(quantized_multiplier); in MultiplyByQuantizedMultiplier() 127 int32_t quantized_multiplier, in MultiplyByQuantizedMultiplier() argument 173 AE_CONVERT_INT32_24x2(quantized_multiplier); in MultiplyByQuantizedMultiplier() 195 int32_t* quantized_multiplier, int* shift) { in QuantizeMultiplier() argument 197 *quantized_multiplier = 0; in QuantizeMultiplier() 217 *quantized_multiplier = static_cast<int32_t>(q_fixed); in QuantizeMultiplier()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | depthwiseconv_uint8.h | 65 inline int32 DepthwiseConvRound(int32 x, int32 quantized_multiplier, in DepthwiseConvRound() argument 68 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift); in DepthwiseConvRound() 73 int32 x, int32 quantized_multiplier, int shift) { 74 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift); 79 int32 x, int32 quantized_multiplier, int shift) { 85 quantized_multiplier) +
|
/external/gemmlowp/doc/ |
D | quantization_example.cc | 211 std::int32_t* quantized_multiplier, in QuantizeMultiplierSmallerThanOne() argument 239 *quantized_multiplier = static_cast<std::int32_t>(q); in QuantizeMultiplierSmallerThanOne() 338 std::int32_t quantized_multiplier; in main() local 340 QuantizeMultiplierSmallerThanOne(real_multiplier, &quantized_multiplier, in main() 353 quantize_down_stage.result_fixedpoint_multiplier = quantized_multiplier; in main()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | neon_tensor_utils.cc | 108 int32x4x4_t input_val, int32 quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier4Rows() argument 121 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 126 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 131 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 136 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 144 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 149 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 154 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 159 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 169 int32x4x2_t input_val, int32 quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier2Rows() argument [all …]
|
D | optimized_ops.h | 202 int32x4x4_t input_val, int32 quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier4Rows() argument 215 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 220 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 225 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 230 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 238 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 243 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 248 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows() 253 quantized_multiplier), in MultiplyByQuantizedMultiplier4Rows()
|
/external/tensorflow/tensorflow/lite/experimental/ruy/ |
D | kernel_common.h | 121 std::int32_t x, std::int32_t quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier() argument 125 x * (1 << left_shift), quantized_multiplier), in MultiplyByQuantizedMultiplier()
|