torch_npu.profiler.dynamic_profile.init
函数原型
[object Object]
功能说明
初始化dynamic_profile动态采集。
参数说明
path:dynamic_profile会在path下自动创建模板文件profiler_config.json,用户可基于模板文件自定义修改配置项。profiler_config_path路径格式仅支持由字母、数字和下划线组成的字符串,不支持软链接。必选。
profiler_config.json文件详细介绍请参见《CANN 性能调优工具用户指南》中的“[object Object]Ascend PyTorch Profiler[object Object]”章节。
支持的型号
- [object Object]Atlas 训练系列产品[object Object]
- [object Object]Atlas A2 训练系列产品[object Object]
- [object Object]Atlas A3 训练系列产品[object Object]
调用示例
[object Object]