13 #ifndef MLPACK_BINDINGS_CLI_STRING_TYPE_PARAM_HPP 14 #define MLPACK_BINDINGS_CLI_STRING_TYPE_PARAM_HPP 29 const typename std::enable_if<!util::IsStdVector<T>::value>::type* = 0,
30 const typename std::enable_if<!data::HasSerialize<T>::value>::type* = 0);
37 const typename std::enable_if<util::IsStdVector<T>::value>::type* = 0);
44 const typename std::enable_if<data::HasSerialize<T>::value>::type* = 0);
55 std::string* outstr = (std::string*) output;
56 *outstr = StringTypeParamImpl<T>();
67 inline void StringTypeParam<bool>(util::ParamData& ,
73 inline void StringTypeParam<std::string>(util::ParamData& ,
79 inline void StringTypeParam<double>(util::ParamData& ,
85 inline void StringTypeParam<std::tuple<mlpack::data::DatasetInfo, arma::mat>>(
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
std::string StringTypeParamImpl(const typename std::enable_if<!util::IsStdVector< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0)
Return a string containing the type of the parameter.
Definition: string_type_param_impl.hpp:25
The core includes that mlpack expects; standard C++ includes and Armadillo.
void StringTypeParam(util::ParamData &, const void *, void *output)
Return a string containing the type of a parameter.
Definition: string_type_param.hpp:51
This structure holds all of the information about a single parameter, including its value (which is s...
Definition: param_data.hpp:52