提交 ba5ebe53 编写于 作者: Y Yibing Liu 提交者: GitHub

Merge pull request #4933 from kuke/learning_rate_debug

Enable learning rate annealing of Adam Optimizer
......@@ -265,6 +265,10 @@ public:
addParameterType(PARAMETER_SECOND_MOMENTUM);
}
virtual void startBatch(int64_t numSamplesProcessed) {
learningRate_ = calcLearningRate(numSamplesProcessed, pass_);
}
virtual void finishBatch() { ++step_; }
virtual void update(const VectorPtr vecs[],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册