13 #ifndef MLPACK_BINDINGS_CLI_GET_PRINTABLE_TYPE_HPP 14 #define MLPACK_BINDINGS_CLI_GET_PRINTABLE_TYPE_HPP 25 const util::ParamData& data,
26 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
27 const typename boost::disable_if<util::IsStdVector<T>>::type* = 0,
28 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0,
29 const typename boost::disable_if<std::is_same<T,
30 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
37 const util::ParamData& data,
45 const util::ParamData& data,
46 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0);
53 const util::ParamData& data,
54 const typename std::enable_if<std::is_same<T,
55 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
62 const util::ParamData& data,
63 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
64 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
74 *((std::string*) output) =
75 GetPrintableType<typename std::remove_pointer<T>::type>(data);
82 #include "get_printable_type_impl.hpp"
std::string GetPrintableType(const 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)
Return a string representing the command-line type of an option.
Linear algebra utility functions, generally performed on matrices or vectors.
This structure holds all of the information about a single parameter, including its value (which is s...