Issue Number: There is no issue open. The change has been discussed with Sumit Shrestha.
Objective of pull request:
The changes has been made because the implementation of the surrogate gradient in the case of a graded spike activity was wrong. Specifically, the the sign inside the exponential function was reversed.
Pull request checklist
Your PR fulfills the following requirements:
[ ] Issue created that explains the change and why it's needed
[ ] Tests are part of the PR (for bug fixes / features)
[ ] Docs reviewed and added / updated if needed (for bug fixes / features)
Issue Number: There is no issue open. The change has been discussed with Sumit Shrestha.
Objective of pull request: The changes has been made because the implementation of the surrogate gradient in the case of a graded spike activity was wrong. Specifically, the the sign inside the exponential function was reversed.
Pull request checklist
Your PR fulfills the following requirements:
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type
Please check your PR type:What is the current behavior?
-
What is the new behavior?
-
Does this introduce a breaking change?
Supplemental information