Skip to content
Snippets Groups Projects

UPD: version 0.2.2 -> 0.2.3

Merged Maxence Naud requested to merge dev into main
20 files
+ 223
78
Compare changes
  • Side-by-side
  • Inline
Files
20
@@ -100,7 +100,7 @@ public:
@@ -100,7 +100,7 @@ public:
* @note Else, the learning rate is updated using the provided function.
* @note Else, the learning rate is updated using the provided function.
*/
*/
constexpr void update() {
constexpr void update() {
mLR = (mStep++ < mSwitchStep) ?
mLR = (++mStep < mSwitchStep) ?
static_cast<float>(mStep) * mInitialWarmUp :
static_cast<float>(mStep) * mInitialWarmUp :
mStepFunc(mLR, mStep);
mStepFunc(mLR, mStep);
};
};
Loading