13 #ifndef MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_PARAM_NAME_HPP 14 #define MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_PARAM_NAME_HPP 28 const util::ParamData& data,
29 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
30 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0,
31 const typename boost::disable_if<std::is_same<T,
32 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
40 const util::ParamData& data,
41 const typename boost::enable_if<arma::is_arma_type<T>>::type* = 0);
49 const util::ParamData& data,
50 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
51 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
59 const util::ParamData& data,
60 const typename boost::enable_if<std::is_same<T,
61 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
72 *((std::string*) output) =
73 GetPrintableParamName<typename std::remove_pointer<T>::type>(d);
81 #include "get_printable_param_name_impl.hpp"
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 GetPrintableParamName(const util::ParamData &data, const typename boost::disable_if< arma::is_arma_type< 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)
Get the parameter name for a type that has no special handling.