12 #ifndef MLPACK_METHODS_ANN_VISITOR_COPY_VISITOR_HPP 13 #define MLPACK_METHODS_ANN_VISITOR_COPY_VISITOR_HPP 16 #include <boost/variant.hpp> 25 template <
typename... CustomLayers>
26 class CopyVisitor :
public boost::static_visitor<LayerTypes<CustomLayers...> >
29 template <
typename LayerType>
30 LayerTypes<CustomLayers...> operator()(LayerType*)
const;
32 LayerTypes<CustomLayers...> operator()(MoreTypes)
const;
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
This visitor is to support copy constructor for neural network module.
Definition: copy_visitor.hpp:26