Browse Source

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

pull/4338/head
アマデウス 1 year ago committed by binmakeswell
parent
commit
caa4433072
  1. 7
      applications/Chat/coati/trainer/utils.py

7
applications/Chat/coati/trainer/utils.py

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

Loading…
Cancel
Save