Commit caa44330 authored by アマデウス's avatar アマデウス Committed by binmakeswell
Browse files

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

parent 1ce997da
...@@ -14,9 +14,10 @@ class CycledDataLoader: ...@@ -14,9 +14,10 @@ class CycledDataLoader:
NOTE: next(iter(dataloader)) is not equivalent to for batch in dataloader: break, it causes slightly different behavior. NOTE: next(iter(dataloader)) is not equivalent to for batch in dataloader: break, it causes slightly different behavior.
""" """
def __init__(self, def __init__(
dataloader: DataLoader, self,
) -> None: dataloader: DataLoader,
) -> None:
self.dataloader = dataloader self.dataloader = dataloader
self.count = 0 self.count = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment