mlpack
Public Member Functions | List of all members
mlpack::ann::LossVisitor Class Reference

LossVisitor exposes the Loss() method of the given module. More...

#include <loss_visitor.hpp>

Inheritance diagram for mlpack::ann::LossVisitor:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::LossVisitor:
Collaboration graph
[legend]

Public Member Functions

template<typename LayerType >
double operator() (LayerType *layer) const
 Return the Loss. More...
 
double operator() (MoreTypes layer) const
 

Detailed Description

LossVisitor exposes the Loss() method of the given module.

Member Function Documentation

◆ operator()()

template<typename LayerType >
double mlpack::ann::LossVisitor::operator() ( LayerType *  layer) const
inline

Return the Loss.

LossVisitor visitor class.


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