ProfilerTarget¶
- class paddle.profiler. ProfilerTarget ( value ) [source]
-
ProfilerTarget is used to specify target device for profiling . Only CPU, GPU and MLU are supported currently.
The meaning of each ProfilerState is as following
ProfilerTarget.CPU : Profile events on CPU.
ProfilerTarget.GPU : Profile events on GPU.
ProfilerTarget.MLU : Profile events on MLU.