class Warmup(object)| 名称 | 类型 | 默认值 |
|---|---|---|
lr_scheduler | LRScheduler | — |
warmup_duration | int | — |
last_step | int | -1 |
state_dict(self)load_state_dict(self, state_dict)| 名称 | 类型 | 默认值 |
|---|---|---|
state_dict | — | — |
get_warmup_factor(self, step, **kwargs)| 名称 | 类型 | 默认值 |
|---|---|---|
step | — | — |
kwargs | — | — |
step(self)finished(self)