mlpack
Public Member Functions | List of all members
mlpack::ann::CopyVisitor< CustomLayers > Class Template Reference

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

#include <copy_visitor.hpp>

Inheritance diagram for mlpack::ann::CopyVisitor< CustomLayers >:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::CopyVisitor< CustomLayers >:
Collaboration 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.


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