LOSS implementation of a loss function. More...
#include <loss.h>
Inherits loss_base< get_config< LOSSFUNCTION > >, and LOSSFUNCTION.
Public Member Functions | |
| BBM_IMPORT_CONFIG (LOSSFUNCTION) | |
| loss (const LOSSFUNCTION &lossfunc) | |
| Construct directly from a LOSSFUNCTION. | |
| virtual void | update (void) override final |
| Virtual passthrough of the update method. | |
| virtual Value | operator() (Mask mask=true) const override final |
| Virtual passthrough of the loss computation. | |
Public Member Functions inherited from loss_base< get_config< LOSSFUNCTION > > | |
| BBM_IMPORT_CONFIG (get_config< LOSSFUNCTION >) | |
| virtual | ~loss_base (void) |
| empty virtual base destructor | |
| virtual void | update (void)=0 |
| update | |
| virtual Value | operator() (Mask mask=true) const=0 |
| operator(): compute the loss | |
LOSS implementation of a loss function.
| LOSSFUNCTION | = the loss function to transfer into a LOSS |
|
inline |
Construct directly from a LOSSFUNCTION.
| BBM_IMPORT_CONFIG | ( | LOSSFUNCTION | ) |
|
inlinefinaloverridevirtual |
Virtual passthrough of the loss computation.
Implements loss_base< get_config< LOSSFUNCTION > >.
|
inlinefinaloverridevirtual |
Virtual passthrough of the update method.
Implements loss_base< get_config< LOSSFUNCTION > >.