Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationsUtils.cpp133 const int32_t qmax = std::numeric_limits<uint8_t>::max(); in CalculateActivationRangeUint8() local
144 *act_max = qmax; in CalculateActivationRangeUint8()
147 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeUint8()
150 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeUint8()
153 *act_max = qmax; in CalculateActivationRangeUint8()