Compute how many steps a linear learning-rate warmup should cover, from total training steps and the warmup ratio, to keep early training stable.
预热可稳定训练初期梯度。