#include <RMSProp.h>
|
| void | reset () |
| |
| void | update (ConstAlignedMapVec &dvec, AlignedMapVec &vec) |
| |
|
|
Scalar | m_lrate |
| |
|
Scalar | m_eps |
| |
|
Scalar | m_decay |
| |
The RMSProp algorithm
Definition at line 17 of file RMSProp.h.
◆ reset()
| void MiniDNN::RMSProp::reset |
( |
| ) |
|
|
inlinevirtual |
◆ update()
| void MiniDNN::RMSProp::update |
( |
ConstAlignedMapVec & |
dvec, |
|
|
AlignedMapVec & |
vec |
|
) |
| |
|
inlinevirtual |
Update the parameter vector using its gradient
It is assumed that the memory addresses of dvec and vec do not change during the training process. This is used to implement optimization algorithms that have "memories". See the AdaGrad algorithm for an example.
- Parameters
-
| dvec | The gradient of the parameter. Read-only |
| vec | On entering, the current parameter vector. On exit, the updated parameters. |
Implements MiniDNN::Optimizer.
Definition at line 38 of file RMSProp.h.
The documentation for this class was generated from the following file: