This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot reproduce result of sigmoid function in CMSIS

Hi all,

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.