13 #ifndef MLPACK_METHODS_ANN_VISITOR_FORWARD_VISITOR_HPP 14 #define MLPACK_METHODS_ANN_VISITOR_FORWARD_VISITOR_HPP 19 #include <boost/variant.hpp> 35 template<
typename LayerType>
50 #include "forward_visitor_impl.hpp"
ForwardVisitor executes the Forward() function given the input and output parameter.
void operator()(LayerType *layer) const
Execute the Foward() function.
ForwardVisitor(arma::mat &&input, arma::mat &&output)
Execute the Foward() function given the input and output parameter.