AI::MXNet::Base - Helper functions
Helper functions
Perl version of for x,y,z in zip (arr_x, arr_y, arr_z) Parameters ---------- $sub_ref, called with @_ filled with $arr_x->[$i], $arr_y->[$i], $arr_z->[$i] for each loop iteration. @array_refs
Same as zip, but the argument list in the anonymous sub is prepended by the iteration count.
Calculates the product of the input agruments.
https://hg.python.org/cpython/file/2.7/Lib/bisect.py
Shuffle the pdl by the last dimension Parameters ----------- PDL $pdl $preshuffle Maybe[ArrayRef[Index]], if defined the array elements are used as shuffled last dimension's indexes
Parameters ----------- Bool $input Str $error_str Calls Carp::confess with $error_str//"AssertionError" if the $input is false
Checks the return value of C API call This function will raise an exception when error occurs. Every API call is wrapped with this function. Returns the C API call return values stripped of first return value, checks for return context and returns first element in the values list when called in scalar context.
Builds argument docs in python style. arg_names : array ref of str Argument names. arg_types : array ref of str Argument type information. arg_descs : array ref of str Argument description information. remove_dup : boolean, optional Whether to remove duplication or not. Returns ------- docstr : str Python docstring of parameter sections.
Notify MXNet about shutdown.
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.