diff --git a/python/paddle/hapi/model.py b/python/paddle/hapi/model.py index 7aa5c4f4613c7ed6824e2dbe04a05e7f60ab2c3a..3cc356f34def0d9afcd5d656afcc06d40eabdb62 100644 --- a/python/paddle/hapi/model.py +++ b/python/paddle/hapi/model.py @@ -1032,7 +1032,8 @@ class Model(object): a numpy array or paddle.Tensor, or a list of arrays or tensors (in case the model has multiple labels). If has no labels, set None. Default is None. - update (bool): Whether update parameters after loss.backward() computing. Using it to accumulate gradients. Default is True. + update (bool): Whether update parameters after loss.backward() computing. + Using it to accumulate gradients. Default is True. Returns: A list of scalar training loss if the model has no metrics,