model.modules.sli.SLICell

model.modules.sli.SLICell#

class SLICell(p: SLIParameters = (tensor(200.), tensor(100.), tensor(0.), tensor(1.)), **kwargs)[source]#

Bases: SNNCell

Cell for a leaky-integrator

Parameters:
  • p (float, optional) – parameters of the leaky integrator

  • dt – integration timestep to use

Methods

Attributes

training

initial_state(input_tensor: Tensor) SLIState[source]#