Table Of Contents
Table Of Contents

set_state

mxnet.profiler.set_state(state='stop', profile_process='worker')[source]

Set up the profiler state to ‘run’ or ‘stop’.

Parameters:
  • state (string, optional) – Indicates whether to run the profiler, can be ‘stop’ or ‘run’. Default is stop.
  • profile_process (string) – whether to profile kvstore server or worker. server can only be profiled when kvstore is of type dist. if this is not passed, defaults to worker