From 0257b2e64ed6a0cb3c34db4c9c6f88e89d9a2ea8 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Mon, 13 Mar 2023 16:57:57 +0800 Subject: [PATCH] fix(doc): fix typo GitOrigin-RevId: ad0a854774de8d54febe86fc8718d24321d1fcbb --- imperative/python/megengine/functional/elemwise.py | 2 +- imperative/python/megengine/functional/math.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imperative/python/megengine/functional/elemwise.py b/imperative/python/megengine/functional/elemwise.py index b68899564..bc80bfe49 100644 --- a/imperative/python/megengine/functional/elemwise.py +++ b/imperative/python/megengine/functional/elemwise.py @@ -830,7 +830,7 @@ def logaddexp(x: Tensor, y: Tensor) -> Tensor: def round(x): r"""Element-wise :math:`\operatorname{round}(x)` function. - Rounds each element :math:`x_i` of the input tebsor :math:`x` to the nearest integer-valued number. + Rounds each element :math:`x_i` of the input tensor :math:`x` to the nearest integer-valued number. Args: x: input tensor. Should have a numeric data type. diff --git a/imperative/python/megengine/functional/math.py b/imperative/python/megengine/functional/math.py index fe20d8fbf..f90153d99 100644 --- a/imperative/python/megengine/functional/math.py +++ b/imperative/python/megengine/functional/math.py @@ -918,7 +918,7 @@ def normalize( Returns: normalized output tensor. - seealso:: :func:`numpy.linalg.norm` / :func:`~.functional.norm` + .. seealso:: :func:`numpy.linalg.norm` / :func:`~.functional.norm` Examples: -- GitLab