From a85d3332410aa6b5fb18f14c0ae735b395a990de Mon Sep 17 00:00:00 2001 From: zhangyi Date: Sun, 7 Feb 2021 17:30:13 +0800 Subject: [PATCH] fix indent of docstring for ReduceMean. --- mindspore/ops/operations/math_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 23e1353332..1f03c2c909 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -366,9 +366,9 @@ class _Reduce(PrimitiveWithInfer): class ReduceMean(_Reduce): """ - Reduces a dimension of a tensor by averaging all elements in the dimension. + Reduces a dimension of a tensor by averaging all elements in the dimension. - The dtype of the tensor to be reduced is number. + The dtype of the tensor to be reduced is number. Args: keep_dims (bool): If true, keep these reduced dimensions and the length is 1.