Searched refs:qmin (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NeuralNetworks/common/ |
D | OperationsUtils.cpp | 48 void CalculateActivationRangeImpl(int32_t activation, const Shape& outputShape, int32_t qmin, in CalculateActivationRangeImpl() argument 58 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 61 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 64 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl() 67 *act_min = qmin; in CalculateActivationRangeImpl() 273 const int32_t qmin = std::numeric_limits<uint8_t>::min(); in CalculateActivationRangeUint8() local 276 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8() 281 const int32_t qmin = std::numeric_limits<int8_t>::min(); in CalculateActivationRangeInt8() local 284 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
|