ConvNet
1.0
A GPU-based C++ implementation of Convolutional Neural Nets
|
Base class for all optimizers. More...
#include <optimizer.h>
Public Member Functions | |
Optimizer (const config::Optimizer &optimizer_config) | |
virtual void | AllocateMemory (const int rows, const int cols) |
virtual bool | IsAllocated () |
virtual void | Optimize (Matrix &gradient, Matrix ¶meter)=0 |
virtual void | ReduceLearningRate (float factor) |
virtual void | LoadParameters (hid_t file, const string &prefix) |
virtual void | SaveParameters (hid_t file, const string &prefix) |
Static Public Member Functions | |
static Optimizer * | ChooseOptimizer (const config::Optimizer &config) |
Protected Member Functions | |
float | GetDecayedEpsilon () const |
void | ApplyConstraints (Matrix ¶meter) |
Base class for all optimizers.