14#ifndef MLPACK_METHODS_AUGMENTED_TASKS_SORT_HPP
15#define MLPACK_METHODS_AUGMENTED_TASKS_SORT_HPP
54 bool addSeparator =
false);
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"
Generator of instances of the sequence sort task.
SortTask(const size_t maxLength, const size_t bitLen, bool addSeparator=false)
Creates an instance of the sequence sort task.
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.
void Generate(arma::mat &input, arma::mat &labels, const size_t batchSize) const
Generate dataset of a given size and store it in arma::mat object.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.