mlpack  master
Namespaces | Functions
print_param.hpp File Reference
Include dependency graph for print_param.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::util
 

Functions

template<typename T >
void mlpack::util::PrintParam (const ParamData &data)
 Print an option. More...
 
template<typename T >
void mlpack::util::PrintParamImpl (const ParamData &data, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< IsStdVector< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Print an option. More...
 
template<typename T >
void mlpack::util::PrintParamImpl (const ParamData &data, const typename boost::enable_if< IsStdVector< T >>::type *=0)
 Print a vector option, with spaces between it. More...
 
template<typename T >
void mlpack::util::PrintParamImpl (const ParamData &data, const typename boost::enable_if< arma::is_arma_type< T >>::type *=0)
 Print a matrix option (this just prints the filename). More...
 
template<typename T >
void mlpack::util::PrintParamImpl (const ParamData &data, const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
 Print a serializable class option (this just prints the filename). More...
 
template<typename T >
void mlpack::util::PrintParamImpl (const ParamData &data, const typename boost::enable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Print a mapped matrix option (this just prints the filename). More...
 

Detailed Description

Author
Ryan Curtin

Print the parameter to stdout, using template metaprogramming to enforce different behavior for different parameter types.

Definition in file print_param.hpp.