norse.torch.functional.LSNNParameters#
- class norse.torch.functional.LSNNParameters(tau_syn_inv: Tensor = tensor(200.), tau_mem_inv: Tensor = tensor(100.), tau_adapt_inv: Tensor = tensor(0.0012), v_leak: Tensor = tensor(0.), v_th: Tensor = tensor(1.), v_reset: Tensor = tensor(0.), beta: 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
- __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 8
beta
Alias for field number 6
method
Alias for field number 7
tau_adapt_inv
Alias for field number 2
tau_mem_inv
Alias for field number 1
tau_syn_inv
Alias for field number 0
v_leak
Alias for field number 3
v_reset
Alias for field number 5
v_th
Alias for field number 4