Skip to content

Commit

Permalink
Update new_python_api_cn.md (#5114)
Browse files Browse the repository at this point in the history
ctest test_logsumexp 运行的是所有单测
ctest -R test_logsumexp 才是运行logsumexp的单测
  • Loading branch information
luotao1 committed Aug 8, 2022
1 parent a9a9e5f commit 2aabfdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Tip: 当出现类似把一个元素放入一个集中管理的列表的操作时

比如运行 `python/paddle/fluid/tests/unittests/test_logsumexp.py` 的命令如下:
```
ctest test_logsumexp
ctest -R test_logsumexp
```
> 注意:执行单测一定要用 `ctest` 命令,不可直接 `python test_*.py`。
Expand Down

0 comments on commit 2aabfdc

Please sign in to comment.