Skip to content

Fixed Bugged Leaky Reset Mechanisms#379

Open
DoubleGio wants to merge 2 commits intojeshraghian:masterfrom
DoubleGio:fix/leaky-reset-mechanisms
Open

Fixed Bugged Leaky Reset Mechanisms#379
DoubleGio wants to merge 2 commits intojeshraghian:masterfrom
DoubleGio:fix/leaky-reset-mechanisms

Conversation

@DoubleGio
Copy link
Copy Markdown

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