AI::MXNet::Profiler - Optional profiler feature.
Optional profirer.
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'.
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 and stop profiler. Use this to save profile in advance in case your program cannot exit normally
To install AI::MXNet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AI::MXNet
CPAN shell
perl -MCPAN -e shell install AI::MXNet
For more information on module installation, please visit the detailed CPAN module installation guide.