13 #ifndef MLPACK_BINDINGS_CLI_GET_PRINTABLE_PARAM_VALUE_HPP 14 #define MLPACK_BINDINGS_CLI_GET_PRINTABLE_PARAM_VALUE_HPP 28 util::ParamData& data,
29 const std::string& value,
30 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
32 const typename std::enable_if<!std::is_same<T,
33 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
41 util::ParamData& data,
42 const std::string& value,
43 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0);
51 util::ParamData& data,
52 const std::string& value,
53 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
62 util::ParamData& data,
63 const std::string& value,
64 const typename std::enable_if<std::is_same<T,
65 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
76 *((std::string*) output) =
77 GetPrintableParamValue<typename std::remove_pointer<T>::type>(d,
78 *((std::string*) input));
86 #include "get_printable_param_value_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
std::string GetPrintableParamValue(util::ParamData &data, const std::string &value, const typename std::enable_if<!arma::is_arma_type< 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)
Get the parameter name for a type that has no special handling.
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...