jeshraghian / snntorch

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

Docs include an example which uses deprecated function `snntorch._neurons.rsynaptic.RSynaptic.init_rsynaptic()` #310

Open bhendi-boi opened 3 months ago

bhendi-boi commented 3 months ago

I was going through the docs to find out how to use RSynaptic neurons in a network I've built. I've tried to run the example and found this error. If you scroll down the docs say that this function is deprecated and recommends to use reset_mem() function. It would be great if you can update the example as well.

Here is url for reference.