Searched refs:act_max (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 51 int32_t qmax, int32_t* act_min, int32_t* act_max) { in CalculateActivationRangeImpl() argument 61 *act_max = qmax; in CalculateActivationRangeImpl() 64 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl() 67 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl() 70 *act_max = qmax; in CalculateActivationRangeImpl() 274 int32_t* act_max) { in CalculateActivationRangeUint8() argument 278 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8() 282 int32_t* act_max) { in CalculateActivationRangeInt8() argument 286 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
|
/frameworks/ml/nn/common/include/ |
D | OperationsUtils.h | 200 int32_t* act_max); 203 int32_t* act_max);
|