From 4f01dbf47ce1b7ed2924643d7b12257efbe7412d Mon Sep 17 00:00:00 2001 From: dinglinhe Date: Wed, 14 Apr 2021 14:05:05 +0800 Subject: [PATCH] Update document of MulNoNan --- mindspore/ops/operations/math_ops.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 98e3efff3c..7c59886390 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -2237,7 +2237,7 @@ class MulNoNan(_MathBinaryOp): When the inputs are one tensor and one scalar, the scalar could only be a constant. Note: - The shapes of `input_x` and `input_y` should be same or can be broadcasted. + The shapes of `input_x` and `input_y` should be the same or can be broadcasted. Inputs: - **input_x** (Union[Tensor]) - The first input is a tensor whose data type is one of @@ -2246,8 +2246,9 @@ class MulNoNan(_MathBinaryOp): flota16, float32, int32, int64 currently or scalar. Outputs: - Tensor, the shape is same to the shape after broadcasting, - the data type is the number with higher precision or higher digits in the two inputs. + Tensor, the shape is the same as the shape after broadcasting, + and the data type is the one with higher precision among the two inputs. + Supported Platforms: ``Ascend``