diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 47467a2b87..0e6c2fbcbe 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -636,7 +636,7 @@ class CumSum(PrimitiveWithInfer): Inputs: - **input** (Tensor) - The input tensor to accumulate. - - **axis** (int) - The axis to accumulate the tensor's value. + - **axis** (int) - The axis to accumulate the tensor's value. Only constant value is allowed. Outputs: Tensor, the shape of the output tensor is consistent with the input tensor's.