AddVisitor< CustomLayers > Class Template Reference

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

Inheritance diagram for AddVisitor< CustomLayers >:

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:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-git/src/mlpack/methods/ann/visitor/add_visitor.hpp