OPTIMIZER implementation of a optimization algorithm. More...
#include <optimizer.h>
Inherits optimizer_base< get_config< OPT > >, and OPT.
Public Member Functions | |
| BBM_IMPORT_CONFIG (OPT) | |
| optimizer (const OPT &opt) | |
| Directly construct from a OPTimization algorithm. | |
| virtual Value | step (void) override final |
| Virtual passthrough of the 'step' method. | |
| virtual void | reset (void) override final |
| Virtual passthrough of the 'reset' method. | |
| virtual Mask | is_converged (void) override final |
| Virtual passthrough of the 'is_converged' method. | |
Public Member Functions inherited from optimizer_base< get_config< OPT > > | |
| BBM_IMPORT_CONFIG (get_config< OPT >) | |
| virtual | ~optimizer_base (void) |
| empty virtual base destructor | |
| virtual Value | step (void)=0 |
| Perform one optimization step towards minimizing the loss. | |
| virtual void | reset (void)=0 |
| Reset the internal state of the optimizer. | |
| virtual Mask | is_converged (void)=0 |
| Check if the optimizer has converged. | |
OPTIMIZER implementation of a optimization algorithm.
| OPT | = the optimization algorithm |
|
inline |
Directly construct from a OPTimization algorithm.
| BBM_IMPORT_CONFIG | ( | OPT | ) |
|
inlinefinaloverridevirtual |
Virtual passthrough of the 'is_converged' method.
Implements optimizer_base< get_config< OPT > >.
|
inlinefinaloverridevirtual |
Virtual passthrough of the 'reset' method.
Implements optimizer_base< get_config< OPT > >.
|
inlinefinaloverridevirtual |
Virtual passthrough of the 'step' method.
Implements optimizer_base< get_config< OPT > >.