13#ifndef MLPACK_BINDINGS_CLI_GET_PRINTABLE_PARAM_HPP
14#define MLPACK_BINDINGS_CLI_GET_PRINTABLE_PARAM_HPP
30 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
33 const typename boost::disable_if<std::is_same<T,
34 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
50 const typename std::enable_if<arma::is_arma_type<T>::value ||
52 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
60 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
73 *((std::string*) output) =
74 GetPrintableParam<typename std::remove_pointer<T>::type>(data);
82#include "get_printable_param_impl.hpp"
std::string GetPrintableParam(util::ParamData &data, const typename boost::disable_if< arma::is_arma_type< T > >::type *=0, const typename boost::disable_if< util::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.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
Metaprogramming structure for vector detection.
This structure holds all of the information about a single parameter, including its value (which is s...