Home
last modified time | relevance | path

Searched refs:CLAMP (Results 1 – 4 of 4) sorted by relevance

/cmsis-3.4.0/CMSIS/NN/Source/SoftmaxFunctions/
Darm_softmax_u8.c90 output[col] = (uint8_t)CLAMP(res, (int32_t)255, (int32_t)0); in arm_softmax_u8()
Darm_softmax_s8.c196 output[tail_idx + i] = (int8_t)CLAMP(res, (int32_t)ACT_MAX, (int32_t)ACT_MIN); in arm_softmax_s8()
246 output[col] = (int8_t)CLAMP(res, (int32_t)127, (int32_t)-128); in arm_softmax_s8()
/cmsis-3.4.0/CMSIS/NN/Source/SVDFunctions/
Darm_svdf_s8.c244 output_data[i] = (q7_t)CLAMP( in arm_svdf_s8()
/cmsis-3.4.0/CMSIS/NN/Include/
Darm_nnsupportfunctions.h48 #define CLAMP(x, h, l) MAX(MIN((x), (h)), (l)) macro