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;
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
Generator of instances of the sequence sort task.
Definition: sort.hpp:41
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.
Definition: sort_impl.hpp:46
SortTask(const size_t maxLength, const size_t bitLen, bool addSeparator=false)
Creates an instance of the sequence sort task.
Definition: sort_impl.hpp:22