Browse Source

fix indent of docstring for ReduceMean.

tags/v1.2.0-rc1
zhangyi 5 years ago
parent
commit
a85d333241
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