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 std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
32 const typename std::enable_if<!std::is_same<T,
33 std::tuple<mlpack::data::DatasetInfo, arma::mat>>::value>::type* = 0)
45 const std::string& identifier,
46 const typename std::enable_if<
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...
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 MapParameterName(const std::string &identifier, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0, const typename std::enable_if<!std::is_same< T, std::tuple< mlpack::data::DatasetInfo, arma::mat >>::value >::type *=0)
If needed, map the parameter name to the name that is used by CLI11.
std::string name
Name of this parameter.