OSCR

Block oscr:b:2S4PQ6EGGTRXY-B

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:2S4PQ6EGGTRXY-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3389/fnins.2023.1322967 · its page here
Code
github.com/fchollet/keras, keras/src/losses/losses.py, lines 952 to 1053 (CategoricalCrossentropy)
Commit read
df66bffce85194fff9d188b60cccd46aec2f6d99
SWHID
swh:1:cnt:d943caf2c11bf15cd9ad570412c8c2bfdde9c98a;origin=https://github.com/fchollet/keras;anchor=swh:1:rev:df66bffce85194fff9d188b60cccd46aec2f6d99;path=/keras/src/losses/losses.py;lines=952-1053 (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 22 (2 Materials and methods › 2.2 Methods › 2.2.4 Implementation details)
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:2S4PQ6EGGTRXY-B (https://openscicode.org/b/oscr:b:2S4PQ6EGGTRXY-B)
keras/src/losses/losses.py, lines 952 to 1053, in github.com/fchollet/keras (https://github.com/fchollet/keras), commit df66bffce85194fff9d188b60cccd46aec2f6d99.
Paper: https://doi.org/10.3389/fnins.2023.1322967
SWHID: swh:1:cnt:d943caf2c11bf15cd9ad570412c8c2bfdde9c98a;origin=https://github.com/fchollet/keras;anchor=swh:1:rev:df66bffce85194fff9d188b60cccd46aec2f6d99;path=/keras/src/losses/losses.py;lines=952-1053