Home
last modified time | relevance | path

Searched refs:double_multiplier (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.cc52 void QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, in QuantizeMultiplier() argument
54 if (double_multiplier == 0.) { in QuantizeMultiplier()
64 int64_t q_fixed = IntegerFrExp(double_multiplier, shift); in QuantizeMultiplier()
66 const double q = std::frexp(double_multiplier, shift); in QuantizeMultiplier()
78 void QuantizeMultiplierGreaterThanOne(double double_multiplier, in QuantizeMultiplierGreaterThanOne() argument
81 TFLITE_CHECK_GT(double_multiplier, 1.); in QuantizeMultiplierGreaterThanOne()
82 QuantizeMultiplier(double_multiplier, quantized_multiplier, left_shift); in QuantizeMultiplierGreaterThanOne()
86 void QuantizeMultiplierSmallerThanOneExp(double double_multiplier, in QuantizeMultiplierSmallerThanOneExp() argument
89 TFLITE_CHECK_LT(double_multiplier, 1.); in QuantizeMultiplierSmallerThanOneExp()
90 TFLITE_CHECK_GT(double_multiplier, 0.); in QuantizeMultiplierSmallerThanOneExp()
[all …]
Dquantization_util.h176 void QuantizeMultiplierSmallerThanOneExp(double double_multiplier,
184 void QuantizeMultiplierGreaterThanOne(double double_multiplier,
195 void QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier,