LIFRefracFeedForwardState

class norse.torch.functional.LIFRefracFeedForwardState(lif: norse.torch.functional.lif.LIFFeedForwardState, rho: torch.Tensor)[source]

State of a feed forward LIF neuron with absolute refractory period.

Parameters:
lif (LIFFeedForwardState): state of the feed forward LIF

neuron integration

rho (torch.Tensor): refractory state (count towards zero)

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.

lif: norse.torch.functional.lif.LIFFeedForwardState

Alias for field number 0

rho: torch.Tensor

Alias for field number 1