Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp49 int32_t qmax, int32_t* act_min, int32_t* act_max) { in CalculateActivationRangeImpl() argument
59 *act_max = qmax; in CalculateActivationRangeImpl()
62 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl()
65 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl()
68 *act_max = qmax; in CalculateActivationRangeImpl()
274 const int32_t qmax = std::numeric_limits<uint8_t>::max(); in CalculateActivationRangeUint8() local
276 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
282 const int32_t qmax = std::numeric_limits<int8_t>::max(); in CalculateActivationRangeInt8() local
284 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()