Skip to content

Commit

Permalink
Update 20230925_api_design_for_LinearLR.md (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asthestarsfalll authored Oct 12, 2023
1 parent 3faf4ff commit 44efcc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/APIs/20230925_api_design_for_LinearLR.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_lr(self):

## 命名与参数设计

API设计为`paddle.optimizer.lr.LinearLR(base_learning_rate,total_steps,start_factor,end_factor,last_epoch=-1,verbose=False)`
API设计为`paddle.optimizer.lr.LinearLR(learning_rate,total_steps,start_factor,end_factor,last_epoch=-1,verbose=False)`

将默认参数 `total_iters` 改为非默认参数 `total_steps`, 名称上与其他学习率调度器保持一致。

Expand Down

0 comments on commit 44efcc6

Please sign in to comment.