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

fix: restrict kwta #45

Merged
merged 2 commits into from
Jan 2, 2024
Merged

fix: restrict kwta #45

merged 2 commits into from
Jan 2, 2024

Conversation

saeedark
Copy link
Collaborator

Previously, k distinct values were allowed. Therefore, if the number of neurons with the smallest winner membrane potential were more than one, all of them would emit spikes. This leads to having more than k neurons spiking in the same time step.

This PR should eliminate this kind of behavior.

@saeedark saeedark linked an issue Dec 10, 2023 that may be closed by this pull request
@saeedark saeedark merged commit 3a291d3 into main Jan 2, 2024
@saeedark saeedark deleted the kwinner branch January 2, 2024 19:30
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.

KWTA with k=1 must respect k value
1 participant