diff --git a/mindinsight/profiler/README.md b/mindinsight/profiler/README.md index 317ec476c02163b636a8be047fa04faa355d004e..c3d00a45f96811243557ab25c05bfb32c1181a68 100644 --- a/mindinsight/profiler/README.md +++ b/mindinsight/profiler/README.md @@ -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: