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.