13#ifndef MLPACK_BINDINGS_CLI_MAP_PARAMETER_NAME_HPP
14#define MLPACK_BINDINGS_CLI_MAP_PARAMETER_NAME_HPP
29 const std::string& identifier,
30 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
32 const typename boost::disable_if<std::is_same<T,
33 std::tuple<mlpack::data::DatasetInfo, arma::mat>>>::type* = 0)
45 const std::string& identifier,
46 const typename boost::enable_if_c<
47 arma::is_arma_type<T>::value ||
52 return identifier +
"_file";
69 *((std::string*) output) =
70 MapParameterName<typename std::remove_pointer<T>::type>(d.
name);
Auxiliary information for a dataset, including mappings to/from strings (or other types) and the data...
std::string MapParameterName(const std::string &identifier, const typename boost::disable_if< arma::is_arma_type< T > >::type *=0, const typename boost::disable_if< data::HasSerialize< T > >::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< mlpack::data::DatasetInfo, arma::mat > > >::type *=0)
If needed, map the parameter name to the name that is used by CLI11.
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...
std::string name
Name of this parameter.