Skip to content
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

Detach and Reset Spikes in RLeaky #108

Merged
merged 1 commit into from
May 25, 2022
Merged

Conversation

manuelbre
Copy link
Contributor

@manuelbre manuelbre commented May 16, 2022

I noticed that for the Rleaky neurons the spike acts as an internal state but was not reset nor detached. I believe the spikes should be reset and detached similar to the membrane potential in reset_hidden and detach_hidden, respectively. This merge request adds support for resetting and detaching of the spikes.

@manuelbre manuelbre changed the title Treat spike in RLeaky same as membrane Detach and Reset Spikes in RLeaky May 16, 2022
@jeshraghian
Copy link
Owner

Great find - thanks for picking this up.
I think the same fix will need to be applied to the RSynaptic neuron, as well.
Are you able to make the same changes you applied and commit that here?

@manuelbre
Copy link
Contributor Author

Would be great if somebody else can take care of this and augment this merge request with it. I quickly glimpsed at it and it looks to be already taken care off and seems to be correct already, but then again I prefer if somebody else can take care of this as I do not plan to spend time on fixing this. Thanks!

@jeshraghian
Copy link
Owner

Sure - I'll handle it myself once I'm back in the office next week! Thanks.

@manuelbre
Copy link
Contributor Author

No worries and thanks for the awesome library!

@jeshraghian jeshraghian merged commit 0409f82 into jeshraghian:master May 25, 2022
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.

2 participants