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...

 

Detailed Description

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

Definition at line 26 of file loss_visitor.hpp.

Member Function Documentation

◆ operator()()

double operator() ( LayerType *  layer) const

Return the Loss.


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