norse.torch.functional.LIFRefracParameters#
- class norse.torch.functional.LIFRefracParameters(lif: norse.torch.functional.lif.LIFParameters = LIFParameters(tau_syn_inv=tensor(200.), tau_mem_inv=tensor(100.), v_leak=tensor(0.), v_th=tensor(1.), v_reset=tensor(0.), method='super', alpha=tensor(100.)), rho_reset: torch.Tensor = tensor(5.))[source]#
Parameters of a LIF neuron with absolute refractory period.
- Parameters:
lif (LIFParameters): parameters of the LIF neuron integration rho (torch.Tensor): refractory state (count towards zero)
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
lif
Alias for field number 0
rho_reset
Alias for field number 1