ProfilerTarget

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

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

The meaning of each ProfilerState is as following

  • ProfilerTarget.CPU : Profile events on CPU.

  • ProfilerTarget.GPU : Profile events on GPU.