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 761be6a commit 147a706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spikingjelly/activation_based/neuron.py
Original file line number Diff line number Diff line change
Expand Up @@ -1942,15 +1942,15 @@ def __init__(self, k: int, T: int, lambda_init: float = 0.,
0, \\mathrm{otherwise}
\\end{cases}.
:math:`k` is used to adjust the progressive masking process, which is
:math:`\\lambda` is used to adjust the progressive masking process, which is
.. math::
M_{k}(\\lambda) = \\lambda \\cdot M_{k} + (1 - \\lambda) \\cdot J,
where :math:`J` is an all-one matrix.
The user can set :math:`k` during training by calling ``self.lambda_ = ...``.
The user can set :math:`\\lambda` during training by calling ``self.lambda_ = ...``.
.. admonition:: Note
:class: note
Expand Down

0 comments on commit 147a706

Please sign in to comment.