Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigmoid, tanh, add, sub, mult. kws examples. #30

Merged
merged 9 commits into from
Apr 11, 2019
Merged

sigmoid, tanh, add, sub, mult. kws examples. #30

merged 9 commits into from
Apr 11, 2019

Conversation

majianjia
Copy link
Owner

ResNet should be ok now.
Use local add, sub, mult when output shift of these layers is not 0. CMSIS_DSP does not support output shift.

  • I don't suggest using any of these activations yet.
  • They perform not good in Conv but ok in Dense.
    Because they have a very low resolution around 0.
  • Sigmoid and TanH set output shift to 7 instantly. They must be handled differently from "shift layer"
  • The nnom_util.py is not warning while output shift cannot be changed in some layer.

inital codes, supposed to be modified later.
ResNet should be ok now.
Use locad add, sub, mult when output shift of these layer is not 0. CMSIS_DSP does not support output shift.
- I dont sugget use any of these activation yet.
- They perform not good in Conv but ok in Dense.
Becasue they has very low resolution around 0.
- Sigmoid and TanH set output shift to 7 instantly. They must be handled differently from "shift layer"
- The nnom_util.py is not warning while output shift cannot be changed in some layer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant