diff --git a/docs/api/api_python/ops/mindspore.ops.func_ldexp.rst b/docs/api/api_python/ops/mindspore.ops.func_ldexp.rst index ee62165e4d2..409b9345456 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_ldexp.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_ldexp.rst @@ -3,7 +3,7 @@ mindspore.ops.ldexp .. py:function:: mindspore.ops.ldexp(x, other) - 将输入乘以 2** `other` 。 + 将输入乘以 :math:`2^{other}` 。 .. math:: out_{i} = x_{i} * ( 2_{i} ^{other} ) diff --git a/mindspore/python/mindspore/ops/function/math_func.py b/mindspore/python/mindspore/ops/function/math_func.py index fd78e26b8f4..b2b0c6340fa 100644 --- a/mindspore/python/mindspore/ops/function/math_func.py +++ b/mindspore/python/mindspore/ops/function/math_func.py @@ -2729,7 +2729,7 @@ def trunc(input): def ldexp(x, other): """ - Multiplies input by 2** `other` . + Multiplies input by :math:`2^{other}` . .. math::