Upgrade black to 22.1.0 and fix the corresponding issues

This commit is contained in:
D-X-Y
2022-03-20 23:18:23 -07:00
parent 8d0799dfb1
commit 676e8e411d
3 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ class ExponentialParamScheduler(ParamScheduler):
self._decay = decay
def __call__(self, where: float) -> float:
return self._start_value * (self._decay ** where)
return self._start_value * (self._decay**where)
class LinearParamScheduler(ParamScheduler):