Skip to content

Commit

Permalink
fix api doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangwei123456 committed May 31, 2023
1 parent 542cea3 commit b44d109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/activation_based/monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
float32 size = 4096
torch.bool size = 1024
:classl:`spikingjelly.activation_based.tensor_cache` 中提供了将float32/float16类型的脉冲tensor压缩到uint8类型脉冲tensor的函数,其中uint8的tensor,每个\
:class:`spikingjelly.activation_based.tensor_cache` 中提供了将float32/float16类型的脉冲tensor压缩到uint8类型脉冲tensor的函数,其中uint8的tensor,每个\
元素使用8比特,保存8个脉冲,相当于是“真正的bool”类型。示例如下:

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/source/activation_based_en/monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ The outputs are:
torch.bool size = 1024
:classl:`spikingjelly.activation_based.tensor_cache` provides functions to compress a float32/float16 tensor to an uint8 tensor, whose each element saves 8 spikes. This uint8 tensor can be regarded as a "true bool" tensor. Here is an example:
:class:`spikingjelly.activation_based.tensor_cache` provides functions to compress a float32/float16 tensor to an uint8 tensor, whose each element saves 8 spikes. This uint8 tensor can be regarded as a "true bool" tensor. Here is an example:

.. code-block:: python
Expand Down

0 comments on commit b44d109

Please sign in to comment.