You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change this line #define NNOM_ROUND(out_shift) ( (0x1u << out_shift) >> 1 )
to #define NNOM_ROUND(out_shift) ((q31_t)( (0x1u << out_shift) >> 1 ))
fix the issue. But how about the arm version? still not working.
Static memory interface, NNOM_TRUNCATE, versions and others
- Add a new static memory buffer interface. By using this interface, NNoM no longer need dynamic memory allocation from libc
- change default NNOM_TRUNCATE setting to avoid the ROUND issue for 16bit ops. #104, for use with CMSIS-NN, please enable global macro `NN_TRUNCATE` to avoid the same issue in CMSIS-NN.
- Move script/lib version to 0.4.3
- Fix memory alignment for 64bit system.
To use RNN layers, must define
NNOM_TUNCATE
innnom_port.h
to use 'floor' instead of 'round' in backend ops.Problem seems related to
NNOM_ROUND()
inlocal_mult_q15()
andlocal_fully_connected_mat_q7_vec_q15()
Same as ARM versions,
NN_ROUND()
. I need to review those shift and round calculation. At the meantime, please define NNOM_TUNCATE innnom_port.h
The text was updated successfully, but these errors were encountered: