ProfilerTarget

class paddle.profiler. ProfilerTarget ( value ) [source]

ProfilerTarget is used to specify target device for Profiler . Only CPU, GPU and XPU are supported currently.

The meaning of each ProfilerState is as following

  • ProfilerTarget.CPU : Profile events on CPU.

  • ProfilerTarget.GPU : Profile events on GPU.

  • ProfilerTarget.XPU : Profile events on XPU.