Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp49 int32_t qmax, int32_t* act_min, int32_t* act_max) { 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()
271 void CalculateActivationRangeUint8(int32_t activation, const Shape& outputShape, int32_t* act_min, in CalculateActivationRangeUint8() argument
276 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
279 void CalculateActivationRangeInt8(int32_t activation, const Shape& outputShape, int32_t* act_min, in CalculateActivationRangeInt8() argument
284 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h183 void CalculateActivationRangeUint8(int32_t activation, const Shape& outputShape, int32_t* act_min,
186 void CalculateActivationRangeInt8(int32_t activation, const Shape& outputShape, int32_t* act_min,