torch_npu.npu.profile

API接口

torch_npu.npu.profile(profiler_result_path, use_e2e_profiler, config)

功能描述

通过profiling获取性能数据文件。

参数说明