Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/cpu_operations/
DBroadcast.cpp139 const double twice_max_input_scale = 2 * std::max(shape1.scale, shape2.scale); in addQuant8() local
140 const double real_input1_multiplier = shape1.scale / twice_max_input_scale; in addQuant8()
141 const double real_input2_multiplier = shape2.scale / twice_max_input_scale; in addQuant8()
143 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in addQuant8()
348 const double twice_max_input_scale = 2 * std::max(shape1.scale, shape2.scale); in subQuant8() local
349 const double real_input1_multiplier = shape1.scale / twice_max_input_scale; in subQuant8()
350 const double real_input2_multiplier = shape2.scale / twice_max_input_scale; in subQuant8()
352 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in subQuant8()