AI::MXNet::Profiler - Optional profiler feature.
Optional profirer.
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
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 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.