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