megengine.optimizer.AdamW.load_state_dict

AdamW.load_state_dict(state)

加载优化器状态。

参数

state (dict) – 优化器状态。应为调用 state_dict 返回的对象。