qualia_plugin_snn.learningmodel.pytorch.layers.spikingjelly.Add module
Contain implementation of Add layer with support for SpikingJelly step_mode.
- class qualia_plugin_snn.learningmodel.pytorch.layers.spikingjelly.Add.Add[source]
Bases:
Add,StepModuleAdd SpikingJelly’s
step_modesupport to Qualia’s Add layer.- __init__(step_mode: str = 's') None[source]
Construct
Add.- Parameters:
step_mode (str) – SpikingJelly’s
step_mode, either's'or'm', seespikingjelly.activation_based.layer.Linear- Return type:
None