rockpool.nn.modules.torch.lif_torch
Implement a LIF Module, using a Torch backend
Provides LIFBaseTorch
base class for LIF torch modules, and LIFTorch
module.
Functions
|
|
|
|
|
|
|
|
|
Sigmoid function |
|
|
|
Classes
|
|
|
A leaky integrate-and-fire spiking neuron model with a Torch backend |
|
Subtract from membrane potential on reaching threshold |
|
Heaviside step function with piece-wise linear surrogate to use as spike-generation surrogate |