7 #ifndef MLPACK_CORE_UTIL_OUTPUT_PARAM_HPP 8 #define MLPACK_CORE_UTIL_OUTPUT_PARAM_HPP 21 const ParamData& data,
22 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
23 const typename boost::disable_if<IsStdVector<T>>::type* = 0,
24 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0,
25 const typename boost::disable_if<std::is_same<T,
26 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
33 const ParamData& data,
34 const typename boost::enable_if<IsStdVector<T>>::type* = 0);
41 const ParamData& data,
42 const typename boost::enable_if<arma::is_arma_type<T>>::type* = 0);
49 const ParamData& data,
50 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
57 const ParamData& data,
58 const typename boost::enable_if<std::is_same<T,
59 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
68 OutputParamImpl<T>(data);
75 #include "output_param_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
void OutputParam(const ParamData &data)
Output an option.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void OutputParamImpl(const ParamData &data, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< 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)
Output an option (print to stdout).
This structure holds all of the information about a single parameter, including its value (which is s...