User-defined schedule driven by a callable.
Math
Parameters
optOptimizerTarget optimiser.
lr_ lambdacallable[int -> float]Function returning the multiplicative factor for a given epoch.
Attributes
lr_ lambda_``std::function<double(std::int64_t)>``Stored callable.
Notes
Useful for warm-up + decay composites that are not worth giving a dedicated subclass.