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

AddVisitor exposes the Add() method of the given module. More...

#include <add_visitor.hpp>

Inheritance diagram for mlpack::ann::AddVisitor< CustomLayers >:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::AddVisitor< CustomLayers >:
Collaboration graph
[legend]

Public Member Functions

template<typename T >
 AddVisitor (T newLayer)
 Exposes the Add() method of the given module. More...
 
template<typename LayerType >
void operator() (LayerType *layer) const
 Exposes the Add() method.
 
void operator() (MoreTypes layer) const
 

Detailed Description

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

AddVisitor exposes the Add() method of the given module.

Constructor & Destructor Documentation

◆ AddVisitor()

template<typename... CustomLayers>
template<typename T >
mlpack::ann::AddVisitor< CustomLayers >::AddVisitor ( newLayer)
inline

Exposes the Add() method of the given module.

AddVisitor visitor class.


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