GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
Weight update models

Currently 3 predefined weight update models are available:

For more details about these built-in synapse models, see [4].

Defining a new weight update model

Like the neuron models discussed in Defining your own neuron type, new weight update models are created by defining a class. Weight update models should all be derived from WeightUpdateModel::Base and, for convenience, the methods a new weight update model should implement can be implemented using macros:

All code snippets, aside from those defined with SET_PRE_SPIKE_CODE() and SET_POST_SPIKE_CODE(), can be used to manipulate any synapse variable and so learning rules can combine both time-drive and event-driven processes.


Previous | Top | Next