From b1656f86735459d9ffcc6dd03447d86b0efe1de9 Mon Sep 17 00:00:00 2001 From: huodagu Date: Thu, 12 May 2022 17:05:12 +0800 Subject: [PATCH] modify format --- docs/api/api_python/ops/mindspore.ops.func_bessel_y0.rst | 6 +++--- docs/api/api_python/ops/mindspore.ops.func_bessel_y1.rst | 6 +++--- mindspore/python/mindspore/ops/function/math_func.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api/api_python/ops/mindspore.ops.func_bessel_y0.rst b/docs/api/api_python/ops/mindspore.ops.func_bessel_y0.rst index be33e14beb8..8ac2bf02dd9 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_bessel_y0.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_bessel_y0.rst @@ -1,5 +1,5 @@ mindspore.ops.bessel_y0 -===================== +======================= .. py:class:: mindspore.ops.bessel_y0 @@ -15,5 +15,5 @@ mindspore.ops.bessel_y0 **异常:** - - **TypeError** - `x`不是Tensor。 - - **TypeError** - `x`的数据类型不是float16,float32或float64。 + - **TypeError** - `x` 不是Tensor。 + - **TypeError** - `x` 的数据类型不是float16,float32或float64。 diff --git a/docs/api/api_python/ops/mindspore.ops.func_bessel_y1.rst b/docs/api/api_python/ops/mindspore.ops.func_bessel_y1.rst index 7cccf658ef2..a6aa465692c 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_bessel_y1.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_bessel_y1.rst @@ -1,5 +1,5 @@ mindspore.ops.bessel_y1 -===================== +======================= .. py:class:: mindspore.ops.bessel_y1 @@ -15,5 +15,5 @@ mindspore.ops.bessel_y1 **异常:** - - **TypeError** - `x`不是Tensor。 - - **TypeError** - `x`的数据类型不是float16,float32或float64。 + - **TypeError** - `x` 不是Tensor。 + - **TypeError** - `x` 的数据类型不是float16,float32或float64。 diff --git a/mindspore/python/mindspore/ops/function/math_func.py b/mindspore/python/mindspore/ops/function/math_func.py index 26accd2e468..0ee76be1e32 100644 --- a/mindspore/python/mindspore/ops/function/math_func.py +++ b/mindspore/python/mindspore/ops/function/math_func.py @@ -2073,7 +2073,7 @@ def cdist(x, y, p=2.0): """ Computes batched the p-norm distance between each pair of the two collections of row vectors. - Refer to :func:'mindspore.ops.cdist' for more detal + Refer to :func:`mindspore.ops.cdist` for more detal Supported Platforms: ``Ascend`` ``CPU``