rockpool.nn.modules.torch.lif_neuron_torch

Implement a LIF Neuron Module, using a Torch backend

Functions

tau_to_decay(dt, tau)

Classes

LIFNeuronTorch(*args, **kwargs)

A leaky integrate-and-fire spiking neuron model

StepPWL(*args, **kwargs)

Heaviside step function with piece-wise linear surrogate to use as spike-generation surrogate