-
Notifications
You must be signed in to change notification settings - Fork 57
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
Tracking of spike-like-event times #380
Conversation
* Additional method for WeightUpdateModel * Additional NeuronGroup API to control location * Included variables in group merged * Backend support for updating
# Conflicts: # include/genn/genn/code_generator/codeGenUtils.h # include/genn/genn/neuronGroup.h # include/genn/genn/weightUpdateModels.h # src/genn/backends/cuda/optimiser.cc # src/genn/backends/single_threaded_cpu/backend.cc # src/genn/genn/code_generator/backendSIMT.cc # src/genn/genn/code_generator/generateInit.cc # src/genn/genn/code_generator/generateNeuronUpdate.cc # src/genn/genn/code_generator/generateRunner.cc # src/genn/genn/code_generator/groupMerged.cc # src/genn/genn/code_generator/modelSpecMerged.cc # src/genn/genn/neuronGroup.cc
…nal threshold check
…g pre-neuron reset groups
…RESHOLD is provided - times can still be used without event handler
Codecov Report
@@ Coverage Diff @@
## master #380 +/- ##
========================================
Coverage 86.57% 86.58%
========================================
Files 70 70
Lines 12785 12917 +132
========================================
+ Hits 11069 11184 +115
- Misses 1716 1733 +17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is an easy one. Looks like the right thing to do and should be unproblematic. Well done.
Thanks! The only problem relates to #379. |
…e multiple conditions
This is a small extension of #376 to improve support for fully event-driven three-factor learning using spike-like events to deliver the third factor. By adding SET_NEEDS_PRE_SPIKE_EVENT_TIME(true) or SET_NEEDS_PREV_PRE_SPIKE_EVENT_TIME(true) macros to a weight update model in C++ or setting the is_pre_spike_event_time_required=True or is_prev_pre_spike_event_time_required=True kwargs in Python, the same sort of code used for tracking spike times is generated and
$(seT)
and$(prev_seT)
can be used from weight update model code.