jeshraghian / snntorch

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

Bug: I don't find self.R and self.C in snntorch/snntorch/_neurons /lapicque.py #257

Closed Wang-XR closed 9 months ago

Wang-XR commented 11 months ago

I don't find self.timestep, self.R and self.C in snntorch/snntorch/_neurons /lapicque.py In function _base_state_function of the class LIF, the self.timestep, self.R and self.C are used, but they are not defined in this class and its father class. In addition, self.reset is not a bool variable. image image af64105809c0d5d3a26ffcb71ea44e8 The formula provided is inconsistent with the code.

jeshraghian commented 11 months ago

Please share a minimal working example of what you are attempting to do.

On Fri, 20 Oct 2023, 3:17 am Wang-XR, @.***> wrote:

I don't find self.R and self.C in snntorch/snntorch/_neurons /lapicque.py In function _base_state_function of the class LIF, the self.R and self.C are used, but they are defined.

— Reply to this email directly, view it on GitHub https://github.com/jeshraghian/snntorch/issues/257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTFT4T2OI45EZHWL4WRVETYAJFTVAVCNFSM6AAAAAA6IZNUQCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TGOJXG43TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ahenkes1 commented 11 months ago

@Wang-XR any updates?