8 #ifndef MLPACK_CORE_UTIL_PRINT_PARAM_HPP 9 #define MLPACK_CORE_UTIL_PRINT_PARAM_HPP 22 const ParamData& data,
23 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
24 const typename boost::disable_if<IsStdVector<T>>::type* = 0,
25 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0,
26 const typename boost::disable_if<std::is_same<T,
27 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
34 const ParamData& data,
35 const typename boost::enable_if<IsStdVector<T>>::type* = 0);
42 const ParamData& data,
43 const typename boost::enable_if<arma::is_arma_type<T>>::type* = 0);
50 const ParamData& data,
51 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
58 const ParamData& data,
59 const typename boost::enable_if<std::is_same<T,
60 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
68 PrintParamImpl<T>(data);
75 #include "print_param_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void PrintParam(const ParamData &data)
Print an option.
void 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.
This structure holds all of the information about a single parameter, including its value (which is s...