torch_npu.profiler.schedule

torch_npu.profiler.schedule (wait, active, warmup = 0, repeat = 0, skip_first = 0)

设置不同step的行为。用于构造torch_npu.profiler.profile的schedule参数。