mlpack 3.4.2
|
This visitor is to support copy constructor for neural network module. More...
#include <copy_visitor.hpp>
Public Member Functions | |
template<typename LayerType > | |
LayerTypes< CustomLayers... > | operator() (LayerType *) const |
LayerTypes< CustomLayers... > | operator() (MoreTypes) const |
This visitor is to support copy constructor for neural network module.
We want a layer-wise copy rather than simple duplicate the pointer.
Definition at line 26 of file copy_visitor.hpp.
LayerTypes< CustomLayers... > operator() | ( | LayerType * | ) | const |
LayerTypes< CustomLayers... > operator() | ( | MoreTypes | ) | const |