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