jeshraghian / snntorch

Deep and online learning with spiking neural networks in Python
https://snntorch.readthedocs.io/en/latest/
MIT License
1.35k stars 222 forks source link

Fix graded_spikes registration #220

Closed ahenkes1 closed 1 year ago

ahenkes1 commented 1 year ago

The standard values in Leaky had overwritten the graded spikes parameters. Removing them solved the issue. Added a test to check, if graded_spikes_factor is registered properly.