mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-23 22:19:47 +00:00
[NFC] polish ./colossalai/trainer/hooks/_lr_scheduler_hook.py code style (#1576)
This commit is contained in:
parent
06dccdde44
commit
20e466527b
@ -18,6 +18,7 @@ class LRSchedulerHook(MetricHook):
|
||||
defaults to 1. If different hooks share same priority, the order of printing would
|
||||
depend on the hooks order in the hook list.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
lr_scheduler,
|
||||
|
Loading…
Reference in New Issue
Block a user