Modifying the mindspore.profiler documentation

pull/5863/head
zhangyihui 4 years ago
parent cd2646c98e
commit cf393fe8f5

@ -18,8 +18,8 @@ Profiler Module Introduction.
This module provides Python APIs to enable the profiling of MindSpore neural networks.
Users can import the mindspore.profiler.Profiler, initialize the Profiler object to start profiling,
and use Profiler.analyse() to stop profiling and analyse the results.
To visualize the profiling results, users can open mindspore Web, find the corresponding run
and click the profile link.
To visualize the profiling results, users can open MindSpore Web, find the corresponding 'run'
button/option and click the profile link.
Now, Profiler supports the AICore operator analysis.
"""
from mindspore.profiler.profiling import Profiler

@ -49,15 +49,15 @@ class Profiler:
"""
Performance profiling API.
Enable MindSpore users to profile the performance of neural network.
Profiler support Ascend and GPU, both of them are used in the same way,
This API enables MindSpore users to profile the performance of neural network.
Profiler supports Ascend and GPU, both of them are used in the same way,
but only output_path in args works on GPU.
Args:
output_path (str): Output data path.
optypes_not_deal (str): (Ascend only)Op type names, the data of which optype will not be collected and analysed;
Different op types should be seperated by comma.
job_id (str): (Ascend only)The directory where the parsed profiling files are located;
optypes_not_deal (str): (Ascend only) Op type names, determine the data of which optype should be collected
and analysed,will deal with all op if null; Different op types should be separated by comma.
ascend_job_id (str): (Ascend only) The directory where the profiling files to be parsed are located;
This parameter is used to support offline parsing.
Examples:

Loading…
Cancel
Save