8000 Fixed Bugged Leaky Reset Mechanisms by DoubleGio · Pull Request #379 · jeshraghian/snntorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed Bugged Leaky Reset Mechanisms #379

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DoubleGio
Copy link

The reset mechanisms in the Leaky class got broken in version 0.08 where they got refactored a bit.
Both soft and hard reset mechanisms do not function as expected: currently the default soft reset resets to zero, whereas the hard reset resets by subtraction -- see this open issue, or you may see for yourself by running tutorial 3 with the current release of snntorch (0.9.4).

With this fix you get the proper behaviour:
image

image

@DoubleGio DoubleGio changed the title Fixed Leaky reset mechanisms Fixed Bugged Leaky Reset Mechanisms May 17, 2025
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.

1 participant
0