mirror of https://github.com/hpcaitech/ColossalAI
[NFC] polish ./colossalai/trainer/hooks/_lr_scheduler_hook.py code style (#1576)
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