“9057abeb39defdef714ab082143849294d4eea11”上不存在“packaging/git@gitcode.net:taosdata/tdengine.git”
提交 b16b61cc 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!233 Fix profiler api parameter type bug

Merge pull request !233 from wangyue/profiler_api_para_type
...@@ -44,9 +44,10 @@ class Profiler: ...@@ -44,9 +44,10 @@ class Profiler:
is_detail (bool): Whether to show profiling data for op_instance level, only show optype level if False. is_detail (bool): Whether to show profiling data for op_instance level, only show optype level if False.
is_show_op_path (bool): Whether to save the full path for each op instance. is_show_op_path (bool): Whether to save the full path for each op instance.
output_path (str): Output data path. output_path (str): Output data path.
optypes_to_deal (list[str]): Op type names, the data of which optype should be collected and analysed, optypes_to_deal (str): Op type names, the data of which optype should be collected and analysed,
will deal with all op if null. will deal with all op if null; Different op types should be seperated by comma.
optypes_not_deal (list[str]): Op type names, the data of which optype will not be collected and analysed. optypes_not_deal (str): Op type names, the data of which optype will not be collected and analysed;
Different op types should be seperated by comma.
Examples: Examples:
>>> from mindinsight.profiler import Profiler >>> from mindinsight.profiler import Profiler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册