Upgrade black to 22.1.0 and fix the corresponding issues
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user