pytorch_pfn_extras.profiler.enable_global_trace#

pytorch_pfn_extras.profiler.enable_global_trace(enable)#

Enable or disable tracing for all the threads.

Parameters:

enable (bool) – Enable or disable flag.

Return type:

None