lr scheduler interface
More...
#include <lr_scheduler.h>
mxnet::cpp::LRScheduler::LRScheduler |
( |
float |
base_lr = 0.01 | ) |
|
|
inlineexplicit |
constructor
- Parameters
-
base_lr | the initial learning rate. |
virtual mxnet::cpp::LRScheduler::~LRScheduler |
( |
| ) |
|
|
inlinevirtual |
virtual float mxnet::cpp::LRScheduler::GetLR |
( |
unsigned |
num_update | ) |
|
|
pure virtual |
void mxnet::cpp::LRScheduler::SetLR |
( |
const float |
lr | ) |
|
|
inline |
set base lr
- Parameters
-
lr | learning rate from optimizer |
float mxnet::cpp::LRScheduler::base_lr_ |
|
protected |
The documentation for this class was generated from the following file: