-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoisyLeaky behaviour: spiking and membrane potential reset independently stochastic #366
Comments
Does leoauri@7fe3f6f reflect the desired/expected behaviour?
|
|
Is it the case that the membrane potential returned by the forward pass is pre-spike? So the membrane potential change is actually calculated in the subsequent forward pass through |
Pull request #368 addresses this. Feedback welcome @genema @jeshraghian |
From what I observe of NoisyLeaky neurons, spiking and membrane potential reset are independently stochastic.
I am not at all experienced with SNNs, but wouldn't the expected behaviour be: iff a spike is emitted, membrane potential reset occurs?
Here is code where I observe this. I'm using reset mechanism "zero" here, but "subtract" produces similar behaviour:
Example output:
You can see here that the spikes and the reset do not generally coincide!
Here's a plot of that:
I also adapted one of the tutorials trying to figure this out:
If I have my head screwed on wrong, someone please correct that. Otherwise, it would be great if the authors of the pull request #230 @genema could shed light on this!
The text was updated successfully, but these errors were encountered: