mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-24 14:33:20 +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
|
defaults to 1. If different hooks share same priority, the order of printing would
|
||||||
depend on the hooks order in the hook list.
|
depend on the hooks order in the hook list.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
lr_scheduler,
|
lr_scheduler,
|
||||||
|
Loading…
Reference in New Issue
Block a user