Dendrite Module

Sigma Decoder

Sigma Decoder implementation.

class lava.lib.dl.slayer.dendrite.sigma.Sigma(persistent_state=False)

Bases: Module

Sigma decoder implementation.

Parameters:

persistent_state (bool) – flag to enable persistent state. Defaults to False.

persistent_state
shape

shape of the sigma unit. It is initialized on first run. The value is None before initialization.

Type:

torch shape

pre_state

previous state of sigma unit.

Type:

torch tensor

property device_params

Dictionary of device parameters.

forward(input)

Module contents

class lava.lib.dl.slayer.dendrite.Sigma(persistent_state=False)

Bases: Module

Sigma decoder implementation.

Parameters:

persistent_state (bool) – flag to enable persistent state. Defaults to False.

persistent_state
shape

shape of the sigma unit. It is initialized on first run. The value is None before initialization.

Type:

torch shape

pre_state

previous state of sigma unit.

Type:

torch tensor

property device_params

Dictionary of device parameters.

forward(input)