Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationsUtils.cpp50 void CalculateActivationRangeImpl(int32_t activation, const Shape& outputShape, int32_t qmin, in CalculateActivationRangeImpl() argument
60 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
63 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
66 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl()
69 *act_min = qmin; in CalculateActivationRangeImpl()
275 const int32_t qmin = std::numeric_limits<uint8_t>::min(); in CalculateActivationRangeUint8() local
278 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
283 const int32_t qmin = std::numeric_limits<int8_t>::min(); in CalculateActivationRangeInt8() local
286 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()