Searched refs:real_multiplier (Results 1 – 9 of 9) sorted by relevance
/external/gemmlowp/doc/ |
D | quantization_example.cc | 210 void QuantizeMultiplierSmallerThanOne(float real_multiplier, in QuantizeMultiplierSmallerThanOne() argument 213 assert(real_multiplier > 0.f); in QuantizeMultiplierSmallerThanOne() 214 assert(real_multiplier < 1.f); in QuantizeMultiplierSmallerThanOne() 220 while (real_multiplier < 0.5f) { in QuantizeMultiplierSmallerThanOne() 221 real_multiplier *= 2.0f; in QuantizeMultiplierSmallerThanOne() 227 static_cast<std::int64_t>(std::round(real_multiplier * (1ll << 31))); in QuantizeMultiplierSmallerThanOne() 336 const float real_multiplier = in main() local 340 QuantizeMultiplierSmallerThanOne(real_multiplier, &quantized_multiplier, in main()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | fully_connected.cc | 56 double real_multiplier = 0.0; in CalculateOpData() local 58 context, input, filter, bias, output, &real_multiplier)); in CalculateOpData() 60 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
|
D | depthwise_conv.cc | 69 double real_multiplier = 0.0; in CalculateOpData() local 71 context, input, filter, bias, output, &real_multiplier)); in CalculateOpData() 73 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util.cc | 92 double real_multiplier = 0.0; in PopulateConvolutionQuantizationParams() local 94 context, input, filter, bias, output, &real_multiplier)); in PopulateConvolutionQuantizationParams() 98 QuantizeMultiplier(real_multiplier, multiplier, &exponent); in PopulateConvolutionQuantizationParams()
|
D | mul.cc | 99 double real_multiplier = in Prepare() local 102 real_multiplier, &data->output_multiplier, &data->output_shift); in Prepare()
|
D | fully_connected.cc | 121 double real_multiplier = 0.0; in Prepare() local 123 context, input, filter, bias, output, &real_multiplier)); in Prepare() 125 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in Prepare()
|
D | reduce.cc | 242 const double real_multiplier = in PrepareMeanOrSum() local 246 QuantizeMultiplier(real_multiplier, &data->multiplier, &exponent); in PrepareMeanOrSum()
|
D | activations.cc | 310 double real_multiplier = in PreluPrepare() local 313 real_multiplier, &data->output_multiplier, &data->output_shift); in PreluPrepare()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/ |
D | depthwise_conv.cc | 72 double real_multiplier = 0.0; in CalculateOpData() local 74 context, input, filter, bias, output, &real_multiplier)); in CalculateOpData() 76 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
|