NAME

AI::MXNet::Profiler - Optional profiler feature.

DESCRIPTION

Optional profirer.

profiler_set_config

Set up the configure of profiler.

Parameters
----------
mode : string, optional
    Indicting whether to enable the profiler, can
    be 'symbolic' or 'all'. Default is `symbolic`.
filename : string, optional
    The name of output trace file. Default is
    'profile.json'.

profiler_set_state

Set up the profiler state to record operator.

Parameters
----------
state : string, optional
    Indicting whether to run the profiler, can
    be 'stop' or 'run'. Default is `stop`.

dump_profile

Dump profile and stop profiler. Use this to save profile
in advance in case your program cannot exit normally