torch_npu.profiler.supported_profiler_level

接口原型

torch_npu.profiler.supported_profiler_level()

功能描述

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

调用示例

import torch
import torch_npu

...

torch_npu.profiler.supported_profiler_level()