提交 a3e8c1fd 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!455 update readme for profiler

Merge pull request !455 from yelihua/dev_profiler
无相关合并请求
......@@ -11,11 +11,11 @@ The Profiler enables users to:
To enable profiling on MindSpore, the MindInsight Profiler apis should be added to the script:
1. Import MindInsight Profiler
1. Import the Profiler
```
from mindinsight.profiler import Profiler
from mindspore.profiler import Profiler
```
2. Initialize the Profiler after set context, and before the network initialization.
2. Initialize the Profiler after set context, and before the network and hccl initialization.
Example:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部