norse.torch.functional.leaky_integrator.LIState

norse.torch.functional.leaky_integrator.LIState#

class norse.torch.functional.leaky_integrator.LIState(v: Tensor, i: Tensor)[source]#

State of a leaky-integrator

Parameters:

v (torch.Tensor): membrane voltage i (torch.Tensor): input current

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

i

Alias for field number 1

v

Alias for field number 0