Searched refs:act_min (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 60 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 63 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 66 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl() 69 *act_min = qmin; in CalculateActivationRangeImpl() 273 void CalculateActivationRangeUint8(int32_t activation, const Shape& outputShape, int32_t* act_min, in CalculateActivationRangeUint8() argument 278 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeUint8() 281 void CalculateActivationRangeInt8(int32_t activation, const Shape& outputShape, int32_t* act_min, in CalculateActivationRangeInt8() argument 286 CalculateActivationRangeImpl(activation, outputShape, qmin, qmax, act_min, act_max); in CalculateActivationRangeInt8()
|
/frameworks/ml/nn/common/include/ |
D | OperationsUtils.h | 199 void CalculateActivationRangeUint8(int32_t activation, const Shape& outputShape, int32_t* act_min, 202 void CalculateActivationRangeInt8(int32_t activation, const Shape& outputShape, int32_t* act_min,
|