14 #ifndef MLPACK_METHODS_AUGMENTED_TASKS_COPY_HPP 15 #define MLPACK_METHODS_AUGMENTED_TASKS_COPY_HPP 61 const size_t nRepeats,
62 const bool addSeparator =
false);
71 void Generate(arma::field<arma::mat>& input,
72 arma::field<arma::mat>& labels,
73 const size_t batchSize,
74 bool fixedLength =
false)
const;
86 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 binary sequence copy task.
Definition: copy.hpp:48
CopyTask(const size_t maxLength, const size_t nRepeats, const bool addSeparator=false)
Creates an instance of the sequence copy task.
Definition: copy_impl.hpp:23
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: copy_impl.hpp:50