torch_npu.profiler.supported_profiler_level

接口原型

1
torch_npu.profiler.supported_profiler_level()

功能描述

查询当前支持的torch_npu.profiler.ProfilerLevel级别。

支持的型号

调用示例

1
2
3
4
5
6
import torch
import torch_npu

...

torch_npu.profiler.supported_profiler_level()