oa::CosineScheduler

Cosine annealing from maxLr to minLr over totalSteps.

Inheritance

public LRScheduler

Public Methods

oa::F32 oa::CosineScheduler::getLr(oa::U64 inStep)

Constructor & Destructor Documentation

oa::CosineScheduler::CosineScheduler( oa::F32 inMaxLr, oa::F32 inMinLr, oa::U64 inTotalSteps )
No public source comment is attached to this declaration.

Parameters

inMaxLr
oa::F32

inMinLr
oa::F32

inTotalSteps
oa::U64

Public Method Documentation

oa::F32 oa::CosineScheduler::getLr( oa::U64 inStep )
No public source comment is attached to this declaration.

Parameters

inStep
oa::U64

Returns

oa::F32

The declared return value.