OSCR

Block oscr:b:248EEW7CY6744-C

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:248EEW7CY6744-C
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1126/sciadv.adi1480 · its page here
Code
github.com/fangwei123456/spikingjelly, spikingjelly/activation_based/layer/attention.py, lines 302 to 405 (SpikingSelfAttention.__init__)
Commit read
279f0bddf88e4d7f63e5bb423912881997bba783
SWHID
swh:1:cnt:c5616ecacc7c3ba82a5cc080e7076225134c038e;origin=https://github.com/fangwei123456/spikingjelly;anchor=swh:1:rev:279f0bddf88e4d7f63e5bb423912881997bba783;path=/spikingjelly/activation_based/layer/attention.py;lines=302-405 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 78 (MATERIALS AND METHODS › Acceleration nodules › Principle of acceleration)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:248EEW7CY6744-C (https://openscicode.org/b/oscr:b:248EEW7CY6744-C)
spikingjelly/activation_based/layer/attention.py, lines 302 to 405, in github.com/fangwei123456/spikingjelly (https://github.com/fangwei123456/spikingjelly), commit 279f0bddf88e4d7f63e5bb423912881997bba783.
Paper: https://doi.org/10.1126/sciadv.adi1480
SWHID: swh:1:cnt:c5616ecacc7c3ba82a5cc080e7076225134c038e;origin=https://github.com/fangwei123456/spikingjelly;anchor=swh:1:rev:279f0bddf88e4d7f63e5bb423912881997bba783;path=/spikingjelly/activation_based/layer/attention.py;lines=302-405