14 #ifndef MLPACK_METHODS_AUGMENTED_TASKS_SORT_HPP
15 #define MLPACK_METHODS_AUGMENTED_TASKS_SORT_HPP
54 bool addSeparator =
false);
65 void Generate(arma::field<arma::mat>& input,
66 arma::field<arma::mat>& labels,
67 const size_t batchSize,
68 bool fixedLength =
false)
const;
79 const size_t batchSize)
const;
96 #include "sort_impl.hpp"
SortTask(const size_t maxLength, const size_t bitLen, bool addSeparator=false)
Creates an instance of the sequence sort task.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void Generate(arma::field< arma::mat > &input, arma::field< arma::mat > &labels, const size_t batchSize, bool fixedLength=false) const
Generate dataset of a given size.
Generator of instances of the sequence sort task.