torch_npu.profiler.ProfilerAction
API接口
torch_npu.profiler.ProfilerAction
功能描述
Profiler状态,Enum类型。
参数说明
NONE:无任何行为。
WARMUP:性能数据采集预热。
RECORD:性能数据采集。
RECORD_AND_SAVE:性能数据采集并保存。
父主题:
torch_npu.profiler