Home
last modified time | relevance | path

Searched refs:right_shift (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/common/
DOperationsUtils.cpp219 int32_t* right_shift) { in QuantizeMultiplierSmallerThanOne() argument
224 *right_shift = 0; in QuantizeMultiplierSmallerThanOne()
228 const double q = std::frexp(double_multiplier, right_shift); in QuantizeMultiplierSmallerThanOne()
229 *right_shift *= -1; in QuantizeMultiplierSmallerThanOne()
234 --*right_shift; in QuantizeMultiplierSmallerThanOne()
236 NN_OPS_CHECK(*right_shift >= 0); in QuantizeMultiplierSmallerThanOne()
DQuantUtils.h23 int right_shift = shift > 0 ? 0 : -shift; in MultiplyByQuantizedMultiplier() local
26 right_shift); in MultiplyByQuantizedMultiplier()
/frameworks/ml/nn/common/include/
DOperationsUtils.h184 int32_t* right_shift);