Surrogate Gradients

Examples of how to override the default backward function of a spiking neuron are provided here.