From 2ee41a2c50344abfa98d5f110a4d03c6a0a27ba7 Mon Sep 17 00:00:00 2001 From: dinglinhe Date: Sun, 25 Apr 2021 15:38:22 +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 430d185f81..49cd9d6b9b 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