Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsExecutionUtils.cpp37 void CalculateActivationRangeImpl(int32_t activation, const Shape& outputShape, int32_t qmin, in CalculateActivationRangeImpl() argument
47 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
50 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
53 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl()
56 *act_min = qmin; in CalculateActivationRangeImpl()
182 const int32_t qmin = std::numeric_limits<uint8_t>::min(); in CalculateActivationRangeUint8() local
185 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
190 const int32_t qmin = std::numeric_limits<int8_t>::min(); in CalculateActivationRangeInt8() local
193 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()