norse.torch.functional.lif_box

norse.torch.functional.lif_box

A simplified version of the popular neuron model that combines a norse.torch.functional.leaky_integrator with spike thresholds to produce events (spikes). Compared to the norse.torch.functional.lif modules, this model leaves out the current term, making it computationally simpler but impossible to implement in physical systems because currents cannot “jump” in nature. It is these sudden current jumps that gives the model its name, because the shift in current is instantaneous and can be drawn as “current boxes”.

Functions

lif_box_feed_forward_step(input_tensor, state)

Computes a single euler-integration step for a lif neuron-model without current terms.

Classes

LIFBoxFeedForwardState(v)

State of a feed forward LIF neuron

LIFBoxParameters([tau_mem_inv, v_leak, ...])

Parametrization of a boxed LIF neuron

LIFBoxState(z, v)

State of a LIF neuron