removed TUPLE_TYPE
This commit is contained in:
@@ -289,7 +289,7 @@ void IO::CheckInputMatrices()
|
||||
{
|
||||
IO::CheckInputMatrix(IO::GetParam<arma::rowvec>(paramName), paramName);
|
||||
}
|
||||
else if (paramType == "TUPLE_TYPE")
|
||||
else if (paramType == "std::tuple<data::DatasetInfo, arma::mat>")
|
||||
{
|
||||
IO::CheckInputMatrix(
|
||||
std::get<1>(IO::GetParam<TupleType>(paramName)), paramName);
|
||||
|
||||
@@ -1014,8 +1014,8 @@ using DatasetInfo = DatasetMapper<IncrementPolicy, std::string>;
|
||||
* https://github.com/mlpack/mlpack/issues/100 for more information.
|
||||
*/
|
||||
#define PARAM_MATRIX_AND_INFO_IN(ID, DESC, ALIAS) \
|
||||
PARAM_IN(std::tuple<mlpack::data::DatasetInfo, arma::mat>, ID, DESC, \
|
||||
ALIAS, std::tuple<mlpack::data::DatasetInfo, arma::mat>(), false)
|
||||
PARAM_IN(std::tuple<mlpack::data::DatasetInfo, arma::mat>, ID, DESC, ALIAS, \
|
||||
std::tuple<mlpack::data::DatasetInfo, arma::mat>(), false)
|
||||
|
||||
/**
|
||||
* Define an input model. From the command line, the user can specify the file
|
||||
|
||||
Reference in New Issue
Block a user