From 1b0046b3a4202b8d19f30c022db13e10c645782f Mon Sep 17 00:00:00 2001 From: dinglinhe Date: Sun, 25 Apr 2021 15:51:13 +0800 Subject: [PATCH] Update docs about SquaredDifference --- mindspore/ops/operations/math_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 692649a432..b0533daec5 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -1421,7 +1421,7 @@ class SquaredDifference(_MathBinaryOp): When the inputs are one tensor and one scalar, the scalar could only be a constant. - .. math:: + .. math:: out_{i} = (x_{i} - y_{i}) * (x_{i} - y_{i}) = (x_{i} - y_{i})^2