DeleteVisitor Class Reference

DeleteVisitor executes the destructor of the instantiated object. More...

Inheritance diagram for DeleteVisitor:

Public Member Functions

template
<
typename
LayerType
>
std::enable_if< !HasModelCheck< LayerType >::value, void >::type operator() (LayerType *layer) const
 Execute the destructor if the layer does not hold layers internally. More...

 
template
<
typename
LayerType
>
std::enable_if< HasModelCheck< LayerType >::value, void >::type operator() (LayerType *layer) const
 Execute the destructor if the layer does hold layers internally. More...

 
void operator() (MoreTypes layer) const
 

Detailed Description

DeleteVisitor executes the destructor of the instantiated object.

Definition at line 27 of file delete_visitor.hpp.

Member Function Documentation

◆ operator()() [1/3]

std::enable_if< !HasModelCheck<LayerType>::value, void>::type operator() ( LayerType *  layer) const

Execute the destructor if the layer does not hold layers internally.

◆ operator()() [2/3]

std::enable_if< HasModelCheck<LayerType>::value, void>::type operator() ( LayerType *  layer) const

Execute the destructor if the layer does hold layers internally.

◆ operator()() [3/3]

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/delete_visitor.hpp