LIFFeedForwardState

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

State of a feed forward LIF neuron

Parameters:

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

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