Skip to content

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