mlpack  3.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
CopyVisitor< CustomLayers > Class Template Reference

This visitor is to support copy constructor for neural network module. More...

Inheritance diagram for CopyVisitor< CustomLayers >:
Inheritance graph
[legend]

Public Member Functions

template<typename LayerType >
LayerTypes< CustomLayers...> operator() (LayerType *) const
 
LayerTypes< CustomLayers...> operator() (MoreTypes) const
 

Detailed Description

template<typename... CustomLayers>
class mlpack::ann::CopyVisitor< CustomLayers >

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.

Member Function Documentation

LayerTypes<CustomLayers...> operator() ( LayerType *  ) const
LayerTypes<CustomLayers...> operator() ( MoreTypes  ) const

The documentation for this class was generated from the following file: