I found that the calculation results of the sigmoid activation in tensorflow lite are different from the results of the function "arm_nn_activations_direct_q7" with the sigmoid flag under the same input values. I try to adjust the "int_width" argument of "arm_nn_activations_direct_q7" function from 0 to 3 but the results are still unmatched. Now, I am pretty confused. Are there additional code required such as requantizing the arm_nn_activations_direct_q7's results? I am super confused.
I found the document in the CMSIS-NN which mentions the sigmoid activation is not compatible with tensorflow lite a few days ago. But still, thanks for your reply