!32388 fix Profiler start error description

Merge pull request !32388 from mahequn123/error_des
This commit is contained in:
i-robot 2022-04-01 04:04:39 +00:00 committed by Gitee
commit 9df72e03f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ mindspore.profiler
- **RuntimeError** profiler已经开启。
- **RuntimeError** 停止Minddata采集后不支持重复开启。
- **RuntimeError** 如果start_profile参数设置为True。
- **RuntimeError** 如果start_profile参数未设置或设置为True。
.. py:method:: stop()

View File

@ -553,7 +553,7 @@ class Profiler:
Raises:
RuntimeError: If the profiler has already started.
RuntimeError: If MD profiling has stopped, repeated start action is not supported.
RuntimeError: If the start_profile value is set to False.
RuntimeError: If the start_profile parameter is not set or is set to True.
Examples:
>>> class StopAtStep(Callback):