Attention Layers ++++++++++++++++ SpikingJelly 的 **注意力层** 提供了用于深度脉冲神经网络的注意力机制实现,包括用于卷积 SNN 的注意力层和用于脉冲 Transformers 的注意力层。 有关脉冲 Transformer 的更多信息,见 :doc:`../tutorials/cn/spikformer` 。 ---- SpikingJelly's **attention layers** provide attention mechanisms for deep Spiking Neural Networks, including attention layers for convolutional SNNs and Spiking Transformers. For more information about Spiking Transformers, see :doc:`../tutorials/en/spikformer` . .. automodule:: spikingjelly.activation_based.layer.attention :members: :undoc-members: :show-inheritance: :exclude-members: supported_backends, extra_repr