cli_util.hpp File Reference
Include dependency graph for cli_util.hpp:

Go to the source code of this file.

Namespaces

 mlpack
 
strip_type.hpp
 
 mlpack::util
 

Functions

void DisableBacktrace ()
 Disable backtraces. More...

 
void DisableVerbose ()
 Turn verbose output off. More...

 
void EnableTimers ()
 Enable timing. More...

 
void EnableVerbose ()
 Turn verbose output on. More...

 
template
<
typename
T
>
T * GetParamPtr (const std::string &paramName)
 Return a pointer. More...

 
template
<
typename
T
>
T & GetParamWithInfo (const std::string &paramName)
 Return the matrix part of a matrix + dataset info parameter. More...

 
void ResetTimers ()
 Reset the status of all timers. More...

 
template
<
typename
T
>
void SetParam (const std::string &identifier, T &value)
 Set the parameter to the given value. More...

 
template
<
typename
T
>
void SetParamPtr (const std::string &identifier, T *value, const bool copy)
 Set the parameter to the given value, given that the type is a pointer. More...

 
template
<
typename
T
>
void SetParamWithInfo (const std::string &identifier, T &matrix, const bool *dims)
 Set the parameter (which is a matrix/DatasetInfo tuple) to the given value. More...