qualia_plugin_snn.learningmodel.pytorch.layers.spikingjelly.GlobalSumPool1d module
Contain implementation of GlobalSumPool1d layer with support for SpikingJelly step_mode
.
- class qualia_plugin_snn.learningmodel.pytorch.layers.spikingjelly.GlobalSumPool1d.GlobalSumPool1d[source]
Bases:
GlobalSumPool1d
,StepModule
GlobalSumPool1d SpikingJelly’s
step_mode
support to Qualia’s GlobalSumPool1d layer.There is no need to override :meth:foward since it works the same for single-step or multi-step mode.