'[NFC] polish <colossalai/engine/_base_engine.py> code style' (#631)

Co-authored-by: RichardoLuo <14049555596@qq.com>
pull/673/head
RichardoLuo 3 years ago committed by binmakeswell
parent 2e11853d04
commit ad1e7ab2b2

@ -15,6 +15,7 @@ from typing import Optional, Type
from colossalai.engine.gradient_handler import BaseGradientHandler
from colossalai.logging import get_dist_logger
class Engine:
"""Basic engine class for training and evaluation. It runs a specific process method
:meth:`step` which is based on the given :attr:`schedule` over each batch of a dataset.

Loading…
Cancel
Save