norse.torch.functional.lif_ex.LIFExParameters

norse.torch.functional.lif_ex.LIFExParameters#

class norse.torch.functional.lif_ex.LIFExParameters(delta_T: Tensor = tensor(0.5000), tau_syn_inv: Tensor = tensor(200.), tau_mem_inv: Tensor = tensor(100.), v_leak: Tensor = tensor(0.), v_th: Tensor = tensor(1.), v_reset: Tensor = tensor(0.), method: str = 'super', alpha: float = 100.0)[source]#

Parametrization of an Exponential Leaky Integrate and Fire neuron

Parameters:

delta_T (torch.Tensor): sharpness or speed of the exponential growth in mV tau_syn_inv (torch.Tensor): inverse synaptic time

constant (\(1/\tau_\text{syn}\)) in 1/ms

tau_mem_inv (torch.Tensor): inverse membrane time

constant (\(1/\tau_\text{mem}\)) in 1/ms

v_leak (torch.Tensor): leak potential in mV v_th (torch.Tensor): threshold potential in mV v_reset (torch.Tensor): reset potential in mV method (str): method to determine the spike threshold

(relevant for surrogate gradients)

alpha (float): hyper parameter to use in surrogate gradient computation

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

alpha

Alias for field number 7

delta_T

Alias for field number 0

method

Alias for field number 6

tau_mem_inv

Alias for field number 2

tau_syn_inv

Alias for field number 1

v_leak

Alias for field number 3

v_reset

Alias for field number 5

v_th

Alias for field number 4