14 #ifndef MLPACK_METHODS_AUGMENTED_TASKS_ADD_HPP 15 #define MLPACK_METHODS_AUGMENTED_TASKS_ADD_HPP 61 void Generate(arma::field<arma::mat>& input,
62 arma::field<arma::mat>& labels,
63 const size_t batchSize,
64 const bool fixedLength =
false)
const;
76 const size_t batchSize)
const;
92 void Binarize(
const arma::field<arma::vec>& input,
93 arma::field<arma::mat>& output)
const;
101 #include "add_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
Generator of instances of the binary addition task.
void Generate(arma::field< arma::mat > &input, arma::field< arma::mat > &labels, const size_t batchSize, const bool fixedLength=false) const
Generate dataset of a given size.
AddTask(const size_t bitLen)
Creates an instance of the binary addition task.