LSNNParameters

class norse.torch.functional.LSNNParameters(tau_syn_inv: torch.Tensor = tensor(200.), tau_mem_inv: torch.Tensor = tensor(100.), tau_adapt_inv: torch.Tensor = tensor(0.0012), v_leak: torch.Tensor = tensor(0.), v_th: torch.Tensor = tensor(1.), v_reset: torch.Tensor = tensor(0.), beta: torch.Tensor = tensor(1.8000), method: str = 'super', alpha: float = 100.0)[source]

Parameters of an LSNN neuron

Parameters:
tau_syn_inv (torch.Tensor): inverse synaptic time

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

tau_mem_inv (torch.Tensor): inverse membrane time

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

tau_adapt_inv (torch.Tensor): adaptation time constant (\(\tau_b\)) v_leak (torch.Tensor): leak potential v_th (torch.Tensor): threshold potential v_reset (torch.Tensor): reset potential beta (torch.Tensor): adaptation constant

alpha: float

Alias for field number 8

beta: torch.Tensor

Alias for field number 6

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

method: str

Alias for field number 7

tau_adapt_inv: torch.Tensor

Alias for field number 2

tau_mem_inv: torch.Tensor

Alias for field number 1

tau_syn_inv: torch.Tensor

Alias for field number 0

v_leak: torch.Tensor

Alias for field number 3

v_reset: torch.Tensor

Alias for field number 5

v_th: torch.Tensor

Alias for field number 4