Searched refs:qmax (Results 1 – 1 of 1) sorted by relevance
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 51 int32_t qmax, int32_t* act_min, int32_t* act_max) { in CalculateActivationRangeImpl() argument 61 *act_max = qmax; in CalculateActivationRangeImpl() 64 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl() 67 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl() 70 *act_max = qmax; in CalculateActivationRangeImpl() 276 const int32_t qmax = std::numeric_limits<uint8_t>::max(); in CalculateActivationRangeUint8() local 278 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8() 284 const int32_t qmax = std::numeric_limits<int8_t>::max(); in CalculateActivationRangeInt8() local 286 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
|