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