cntk.debugging.profiler module¶
-
enable_profiler
()[source]¶ Enable profiler to gather data. Note that in training_session, profiler would be enabled automatically after the first check point
-
start_profiler
(dir='profiler', sync_gpu=True, reserve_mem=33554432)[source]¶ Start profiler to prepare performance statistics gathering. Note that the profiler is not enabled after start (example).
Parameters: - dir – directory for profiler output
- sync_gpu – whether profiler syncs CPU with GPU when timing
- reserve_mem – size in byte for profiler memory reserved