From 01474d3b5582385c7019ba7bf3d12e832aa79edd Mon Sep 17 00:00:00 2001 From: lyuwenyu Date: Tue, 22 Jun 2021 11:47:18 +0800 Subject: [PATCH] update docs --- python/paddle/hapi/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/hapi/model.py b/python/paddle/hapi/model.py index 7aa5c4f4613..3cc356f34de 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, -- GitLab