From c62bae1f267c0e6e9400afb395a38feb9296a163 Mon Sep 17 00:00:00 2001 From: yelihua Date: Thu, 23 Jul 2020 15:01:49 +0800 Subject: [PATCH] update readme --- mindinsight/profiler/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mindinsight/profiler/README.md b/mindinsight/profiler/README.md index 317ec47..c3d00a4 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: -- GitLab