Home
last modified time | relevance | path

Searched refs:act_max (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
59 *act_max = qmax; in CalculateActivationRangeImpl()
62 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl()
65 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl()
68 *act_max = qmax; in CalculateActivationRangeImpl()
272 int32_t* act_max) { in CalculateActivationRangeUint8() argument
276 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
280 int32_t* act_max) { in CalculateActivationRangeInt8() argument
284 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h184 int32_t* act_max);
187 int32_t* act_max);