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

process deferred changes at the end of a run/ before a read #1492

Open
Christian-B opened this issue Sep 30, 2024 · 1 comment
Open

process deferred changes at the end of a run/ before a read #1492

Christian-B opened this issue Sep 30, 2024 · 1 comment

Comments

@Christian-B
Copy link
Member

follow up to #1490

When playing with changeable and changer Projections I was confused because some of the Changer spikes where not reflected in the changeable's weights.

This is because the changer spiker(s) which happened the last changable spike was processed where deffered (not yet processed)

I think some STDP models also have this deferring behaviour

@rowleya
Copy link
Member

rowleya commented Sep 30, 2024

Weight changes that have not yet happened because the processing is deferred until a pre-spike is received could be processed at the end of simulation. This could be slow, but it can be done at a time when speed is not critical.

For STDP, this would have to go through each pre row and find the last pre-spike time, then go through the post spike history and make the appropriate potentiations since the last pre-spike. This might require a small amount of extra data to be available, in terms of the start address of the matrix for the specific STDP connection, and the row length.

For WeightChangable, the history buffers include the pre spike index in some form, although this is in addition to an offset value, so the start address and row length would be needed in addition to this offset address. However processing would not require every row to be looked at, only those mentioned in the history.

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

No branches or pull requests

2 participants