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 d244a14 commit 761be6a
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 @@ -2048,7 +2048,7 @@ def __init__(self, k: int, exp_init: bool = True,
surrogate_function: surrogate.SurrogateFunctionBase = surrogate.ATan(), step_mode: str = 's',
backend: str = 'gemm'):
"""
:param k: the order of the Masked PSN
:param k: the order of the Sliding PSN
:type k: int
:param exp_init: if ``True``, the weight will be initialized as ``(..., 1/4, 1/2, 1)``. If ``False``, the weight will be initialized by the kaiming uniform
:type exp_init: bool
Expand All @@ -2073,7 +2073,7 @@ def __init__(self, k: int, exp_init: bool = True,
.. admonition:: Note
:class: note
The sliding PSN supports both single-step and multi-step mode. But using the multi-step mode is much faster than the single-step mode.
The Sliding PSN supports both single-step and multi-step mode. But using the multi-step mode is much faster than the single-step mode.
.. admonition:: Note
:class: note
Expand Down

0 comments on commit 761be6a

Please sign in to comment.