Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DBroadcast.cpp125 const int left_shift = 20; in addQuant8() local
130 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in addQuant8()
159 left_shift, in1, convertShapeToDims(shape1), input1_offset, input1_multiplier, \ in addQuant8()
170 left_shift, in1, convertShapeToDims(shape1), input1_offset, input1_multiplier, \ in addQuant8()
273 const int left_shift = 20; in subQuant8() local
278 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in subQuant8()
310 left_shift, in1, convertShapeToDims(shape1), input1_offset, input1_multiplier, \ in subQuant8()
/frameworks/ml/nn/common/
DOperationsUtils.cpp198 int* left_shift) { in QuantizeMultiplierGreaterThanOne() argument
200 const double q = std::frexp(double_multiplier, left_shift); in QuantizeMultiplierGreaterThanOne()
205 ++*left_shift; in QuantizeMultiplierGreaterThanOne()
207 NN_OPS_CHECK(*left_shift >= 0); in QuantizeMultiplierGreaterThanOne()
/frameworks/ml/nn/common/include/
DOperationsUtils.h189 int* left_shift);