Set up the configure of profiler.
Parameters
----------
kwargs : hash ref
Indicates configuration parameters with key/value pairs, listed below
profile_symbolic : boolean, whether to profile symbolic operators
profile_imperative : boolean, whether to profile imperative operators
profile_memory : boolean, whether to profile memory usage
profile_api : boolean, whether to profile the C API
file_name : string, output file for profile data
continuous_dump : boolean, whether to periodically dump profiling data to file
dump_period : float, seconds between profile data dumps
profiler_set_state
Set up the profiler state to record operator.
Parameters
----------
state : int, optional
Indicting whether to run the profiler, can
be 'stop' - 0 or 'run' - 1. Default is `stop`.
dump_profile
Dump profile and stop profiler. Use this to save profile
in advance in case your program cannot exit normally
Module Install Instructions
To install AI::MXNet, copy and paste the appropriate command in to your terminal.