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);
72 arma::field<arma::mat>& labels,
73 const size_t batchSize,
74 bool fixedLength =
false)
const;
86 const size_t batchSize)
const;
103#include "copy_impl.hpp"
Generator of instances of the binary sequence copy task.
CopyTask(const size_t maxLength, const size_t nRepeats, const bool addSeparator=false)
Creates an instance of the sequence copy 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.