Browse Source

!12237 Fix api comments of ReduceMean.

From: @zhang_yi2020
Reviewed-by: @gemini524,@liangchenghui,@ljl0711
Signed-off-by: @liangchenghui
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 5 years ago
parent
commit
3a4d575844
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ops/operations/math_ops.py

+ 2
- 2
mindspore/ops/operations/math_ops.py View File

@@ -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.


Loading…
Cancel
Save