!32033 去除mindspore.common.initializer.initializer参数shape中多余左中括号

Merge pull request !32033 from xuebao_zhang/dev
This commit is contained in:
i-robot 2022-04-01 03:32:29 +00:00 committed by Gitee
commit 5bdb8cfa6b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ mindspore.common.initializer
- **numbers.Number** - 用于初始化Tensor的常量。
- **Tensor** - 用于初始化Tensor的Tensor。
- **shape** (Union[[tuple, list, int]) - 被初始化的Tensor的shape默认值为None。
- **shape** (Union[tuple, list, int]) - 被初始化的Tensor的shape默认值为None。
- **dtype** (mindspore.dtype) 被初始化的Tensor的数据类型默认值为 `mindspore.float32`
**返回:**