forked from mindspore-Ecosystem/mindspore
!32033 去除mindspore.common.initializer.initializer参数shape中多余左中括号
Merge pull request !32033 from xuebao_zhang/dev
This commit is contained in:
commit
5bdb8cfa6b
|
@ -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` 。
|
||||
|
||||
**返回:**
|
||||
|
|
Loading…
Reference in New Issue