!36259 modify format

Merge pull request !36259 from 俞涵/code_docs_0621
This commit is contained in:
i-robot 2022-06-22 01:11:40 +00:00 committed by Gitee
commit 3e7e0f9637
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 65 additions and 65 deletions

View File

@ -1554,7 +1554,7 @@ mindspore.Tensor
**参数:**
**shape** (Union[tuple(int), int]) - 输出Tensor的维度。
- **shape** (Union[tuple(int), int]) - 输出Tensor的维度。
**返回:**

View File

@ -15,7 +15,7 @@ mindspore.ops.bernoulli
- **p** (Union[Tensor, float], optional) - shape需要可以被广播到当前Tensor。其数据类型为float32或float64。`p` 中每个值代表输出Tensor中对应广播位置为1的概率数值范围在0到1之间。默认值0.5。
- **seed** (int, optional) - 随机种子,用于生成随机数,数值范围是正数,默认取当前时间。默认值:-1。
**输出**
**返回**
- **output** (Tensor) - shape和数据类型与 `x` 相同。

View File

@ -1,5 +1,5 @@
mindspore.ops.eye
==================
mindspore.ops.standard_laplace
==============================
.. py:function:: mindspore.ops.standard_laplace(shape, seed=0, seed2=0)