Optimizer Parameters Scheduler# This api is used to calculate the learning rate and weight decay for the optimizer.