Skip to content

Commit

Permalink
Update math.py
Browse files Browse the repository at this point in the history
修改nanmean的example code 错误
  • Loading branch information
Li-fAngyU authored Apr 3, 2022
1 parent 7be3764 commit 32179ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,8 @@ def nanmean(x, axis=None, keepdim=False, name=None):
Examples:
.. code-block:: python
:name: code-example1
:name: code-example1
import paddle
# x is a Tensor with following elements:
Expand Down

0 comments on commit 32179ff

Please sign in to comment.