!34993 add fills docs

Merge pull request !34993 from yelihua/code_docs_master
This commit is contained in:
i-robot 2022-05-26 09:47:02 +00:00 committed by Gitee
commit 4380e9d974
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 9 deletions

View File

@ -1,8 +0,0 @@
mindspore.ops.Fills
==================
.. py:class:: mindspore.ops.Fills()
创建一个与输入Tensor具有相同shape和type的Tensor并用指定值填充。
更多参考详见 :func:`mindspore.ops.fills`

View File

@ -8,7 +8,7 @@ mindspore.ops.fills
**参数:**
- **x** (Tensor) - 输入Tensor用来指定输出Tensor的shape和type。数据类型为int8int16int32float16float32。
- **value** (Union(int, float, Tensor)) - 用来填充输出Tensor的值。数据类型为intfloat或0-维Tensor。
- **value** (Union(int, float, Tensor)) - 用来填充输出Tensor的值。数据类型为intfloat或0维Tensor。
**返回:**