Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsExecutionUtils.cpp38 int32_t qmax, int32_t* act_min, int32_t* act_max) { in CalculateActivationRangeImpl() argument
48 *act_max = qmax; in CalculateActivationRangeImpl()
51 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl()
54 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl()
57 *act_max = qmax; in CalculateActivationRangeImpl()
181 int32_t* act_max) { in CalculateActivationRangeUint8() argument
185 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8()
189 int32_t* act_max) { in CalculateActivationRangeInt8() argument
193 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
/packages/modules/NeuralNetworks/common/include/
DOperationsExecutionUtils.h126 int32_t* act_max);
129 int32_t* act_max);