rockpool.nn.modules.native.lif

Implements a leaky integrate-and-fire neuron module with a numpy backend

Functions

sigmoid(x,Β threshold)

Sigmoid function

spike_subtract_threshold(x,Β threshold[,Β ...])

Spike production function

Classes

LIF(*args,Β **kwargs)

A leaky integrate-and-fire spiking neuron model