[NFC] fix format of application/Chat/coati/trainer/utils.py (#4273)

pull/4338/head
アマデウス 2023-07-18 18:02:35 +08:00 committed by binmakeswell
parent 1ce997daaf
commit caa4433072
1 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,8 @@ class CycledDataLoader:
NOTE: next(iter(dataloader)) is not equivalent to for batch in dataloader: break, it causes slightly different behavior.
"""
def __init__(self,
def __init__(
self,
dataloader: DataLoader,
) -> None:
self.dataloader = dataloader