LossVisitor Class Reference

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

Inheritance diagram for LossVisitor:

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.

Definition at line 26 of file loss_visitor.hpp.

Member Function Documentation

◆ operator()() [1/2]

double operator() ( LayerType *  layer) const

Return the Loss.

◆ operator()() [2/2]

double operator() ( MoreTypes  layer) const

The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/ann/visitor/loss_visitor.hpp