13 #ifndef MLPACK_BINDINGS_TESTS_GET_PRINTABLE_PARAM_HPP 14 #define MLPACK_BINDINGS_TESTS_GET_PRINTABLE_PARAM_HPP 29 util::ParamData& data,
30 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
33 const typename std::enable_if<!std::is_same<T,
34 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
41 util::ParamData& data,
49 util::ParamData& data,
50 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0);
57 util::ParamData& data,
58 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
66 util::ParamData& data,
67 const typename std::enable_if<std::is_same<T,
68 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
80 *((std::string*) output) =
81 GetPrintableParam<typename std::remove_pointer<T>::type>(data);
89 #include "get_printable_param_impl.hpp"
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
This structure holds all of the information about a single parameter, including its value (which is s...
std::string GetPrintableParam(util::ParamData &data, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if<!util::IsStdVector< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0, const typename std::enable_if<!std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>::value >::type *=0)
Print an option.