Skip to content

Commit

Permalink
[NFC] polish ./colossalai/trainer/hooks/_lr_scheduler_hook.py code st…
Browse files Browse the repository at this point in the history
…yle (#1576)
  • Loading branch information
Cypher30 authored and FrankLeeeee committed Sep 8, 2022
1 parent 06dccdd commit 20e4665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions colossalai/trainer/hooks/_lr_scheduler_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 20e4665

Please sign in to comment.