norse.torch.functional.LIFRefracParameters

norse.torch.functional.LIFRefracParameters#

class norse.torch.functional.LIFRefracParameters(lif: LIFParameters = (tensor(200.), tensor(100.), tensor(0.), tensor(1.), tensor(0.), 'super', tensor(100.)), rho_reset: 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