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

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

#include <add_visitor.hpp>

Inheritance diagram for AddVisitor< CustomLayers >:
Inheritance 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. More...
 
void operator() (MoreTypes layer) const
 

Detailed Description

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

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

Definition at line 28 of file add_visitor.hpp.

Constructor & Destructor Documentation

◆ AddVisitor()

AddVisitor ( newLayer)

Exposes the Add() method of the given module.

Member Function Documentation

◆ operator()() [1/2]

void operator() ( LayerType *  layer) const

Exposes the Add() method.

◆ operator()() [2/2]

void operator() ( MoreTypes  layer) const

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