[NFC] Fix format for mixed precision (#4253)

* [NFC] polish colossalai/booster/mixed_precision/mixed_precision_base.py code style
This commit is contained in:
Jianghai 2023-07-17 18:01:30 +08:00 committed by binmakeswell
parent 02192a632e
commit b366f1d99f

View File

@ -13,7 +13,8 @@ class MixedPrecision(ABC):
"""
@abstractmethod
def configure(self,
def configure(
self,
model: nn.Module,
optimizer: Optional[Optimizer] = None,
criterion: Optional[Callable] = None,