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

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 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...

 
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)
 Set the parameter to the given value, given that the type is a pointer. More...

 

Detailed Description

Author
Yasmine Dumouchel
Yashwant Singh

Utility function for Go to set and get parameters to and from the CLI.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file cli_util.hpp.