From caa4433072aab219418205bf4d338fd1aa355d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=9E=E3=83=87=E3=82=A6=E3=82=B9?= Date: Tue, 18 Jul 2023 18:02:35 +0800 Subject: [PATCH] [NFC] fix format of application/Chat/coati/trainer/utils.py (#4273) --- applications/Chat/coati/trainer/utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/applications/Chat/coati/trainer/utils.py b/applications/Chat/coati/trainer/utils.py index c9fc8d0fe..4d45061ba 100644 --- a/applications/Chat/coati/trainer/utils.py +++ b/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