norse.torch.functional.lif#
A popular neuron model that combines a norse.torch.functional.leaky_integrator
with
spike thresholds to produce events (spikes).
The model describes the change in a neuron membrane voltage (\(v\))
and inflow current (\(i\)).
See the leaky_integrator
module for more information.
The F in LIF stands for the thresholded “firing” events that occur if the neuron voltage increases over a certain point or threshold (\(v_{\text{th}}\)).
In regular artificial neural networks, this is referred to as the activation
function. The behaviour can be controlled by setting the method
field in
the neuron parameters, but will default to the superspike
synthetic
gradient approach that uses the heaviside
step function:
More information can be found on Wikipedia or in the book *Neuron Dynamics* by W. Gerstner et al., freely available online.
Functions
|
Computes a single euler-integration step of a leaky integrator. |
|
Computes multiple euler-integration steps of a LIF neuron-model. |
|
Computes a single euler-integration step for a lif neuron-model. |
|
|
|
Computes a single euler-integration step of a LIF neuron-model. |
|
Computes multiple euler-integration steps of a LIF neuron-model. |
|
Computes a single euler-integration step of a LIF neuron-model. |