(current_step)
| 412 | assert warmup_steps > 0 |
| 413 | |
| 414 | def lr_lambda(current_step): |
| 415 | if current_step > warmup_steps: |
| 416 | return 1.0 |
| 417 | else: |
| 418 | return current_step / warmup_steps |
| 419 | |
| 420 | return lr_lambda |
nothing calls this directly
no outgoing calls
no test coverage detected