!35672 modify format

Merge pull request !35672 from 俞涵/code_docs_0606
This commit is contained in:
i-robot 2022-06-09 11:06:17 +00:00 committed by Gitee
commit 277b92e18d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -1084,6 +1084,7 @@ mindspore.Tensor
一维Tensor含有与输入相同的元素。
.. py:method:: renorm(p, dim, maxnorm)
沿维度 `dim` 重新规范Tensor的子张量并且每个子张量的p范数不超过给定的最大范数 `maxnorm`
如果子张量的p范数小于 `maxnorm` 则当前子张量不需要修改否则该子张量需要修改为对应位置的原值除以该子张量的p范数然后再乘上 `maxnorm`