Skip to content

Commit

Permalink
fix api doc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangwei123456 committed Apr 25, 2023
1 parent 4f72264 commit 48e3d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spikingjelly/activation_based/neuron.py
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ def __init__(self, T: int, surrogate_function: surrogate.SurrogateFunctionBase =
H &= WX, ~~~~~~~~~~~~~~~W \\in \\mathbb{R}^{T \\times T}, X \\in \\mathbb{R}^{T \\times N} \\label{eq psn neuronal charge}\\\\
S &= \\Theta(H - B), ~~~~~B \\in \\mathbb{R}^{T}, S\\in \\{0, 1\\}^{T \\times N}
where :math`W` is the learnable weight matrix, and :math:`B` is the learnable threshold.
where :math:`W` is the learnable weight matrix, and :math:`B` is the learnable threshold.
.. admonition:: Note
:class: note
Expand Down

0 comments on commit 48e3d42

Please sign in to comment.