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

Remove backpropagation support from neurons #748

Open
stiber opened this issue Jan 9, 2025 · 0 comments
Open

Remove backpropagation support from neurons #748

stiber opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@stiber
Copy link
Contributor

stiber commented Jan 9, 2025

While remnants of this aspirational code still exist, it has never been used or tested and we have no immediate plans for it.

if (fAllowBackPropagation && synapseCounts != 0) {
// get the index of where this neuron's list of synapses are
BGSIZE beginIndex = edgeIndexMapDevice->incomingEdgeBegin_[idx];
// get the memory location of where that list begins
BGSIZE *incomingMapBegin = &(edgeIndexMapDevice->incomingEdgeIndexMap_[beginIndex]);
// for each synapse, let them know we have fired
switch (classSynapses_d) {
case classAllSTDPSynapses:
case classAllDynamicSTDPSynapses:
for (BGSIZE i = 0; i < synapseCounts; i++) {
postSTDPSynapseSpikeHitDevice(
incomingMapBegin[i],
static_cast<AllSTDPSynapsesDeviceProperties *>(allEdgesDevice));
} // end for
break;
case classAllSpikingSynapses:
case classAllDSSynapses:
for (BGSIZE i = 0; i < synapseCounts; i++) {
postSpikingSynapsesSpikeHitDevice(incomingMapBegin[i], allEdgesDevice);
} // end for
break;
default:
assert(false);
} // end switch
}
} else {

@AndrewBMadison AndrewBMadison self-assigned this Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants