jaxsnn.event.utils.from_nir.ConversionConfig

class jaxsnn.event.utils.from_nir.ConversionConfig(t_max: float, n_steps: Dict[str, int], backprop_method: str = 'analytical')

Bases: object

Configuration for the conversion from NIR to jaxsnn.

Parameters
  • t_max – Maximum time for the simulation.

  • n_steps – Dictionary with number of spikes to simulate per layer.

  • backprop_method – Either “eventprop” for the EventProp algorithm or “analytical” for the time-to-first-spike solver.

__init__(t_max: float, n_steps: Dict[str, int], backprop_method: str = 'analytical')None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(t_max, n_steps[, backprop_method])

Initialize self.

Attributes

backprop_method

backprop_method: str = 'analytical'
n_steps: Dict[str, int]
t_max: float