LSNNFeedForwardState

class norse.torch.functional.LSNNFeedForwardState(v: torch.Tensor, i: torch.Tensor, b: torch.Tensor)[source]

Integration state kept for a lsnn module

Parameters:

v (torch.Tensor): membrane potential i (torch.Tensor): synaptic input current b (torch.Tensor): threshold adaptation

b: torch.Tensor

Alias for field number 2

count(value, /)

Return number of occurrences of value.

i: torch.Tensor

Alias for field number 1

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

Return first index of value.

Raises ValueError if the value is not present.

v: torch.Tensor

Alias for field number 0