SpineML / SpineML_2_BRAHMS

Code generation scripts to run a SpineML neural model using BRAHMS on standard CPUs
http://spineml.github.io/simulators/BRAHMS/
4 stars 3 forks source link

Make learning State Variable normalisation defined by an attribute #38

Open ajc158 opened 6 years ago

ajc158 commented 6 years ago

Currently normalisation for learning requires a State Variable to be passed out of a Weight Update, remapped using a connection, then passed back in. This is both inefficient and opaque for something that is a commonly required method.

Instead the normalisation should be defined as an attribute for Learning StateVariables @norm={'none','post,'pre'} to define no normalisation, postsynaptic normalisation or presynaptic normalisation respectively. If @norm is absent the 'none' is assumed.

Any comments?