forked from mindspore-Ecosystem/mindspore
update docs
This commit is contained in:
parent
d674dcc043
commit
dbac18fa6b
|
@ -14,7 +14,7 @@ mindspore.nn.ParameterUpdate
|
||||||
- **x** (Tensor) - shape和type与 `param` 相同的Tensor。
|
- **x** (Tensor) - shape和type与 `param` 相同的Tensor。
|
||||||
|
|
||||||
输出:
|
输出:
|
||||||
Tensor,输入 `x`。
|
Tensor,更新后的值。
|
||||||
|
|
||||||
异常:
|
异常:
|
||||||
- **KeyError** - 指定名称的参数不存在。
|
- **KeyError** - 指定名称的参数不存在。
|
||||||
|
|
|
@ -725,7 +725,7 @@ class ParameterUpdate(Cell):
|
||||||
- **x** (Tensor) - A tensor whose shape and type are the same with `param`.
|
- **x** (Tensor) - A tensor whose shape and type are the same with `param`.
|
||||||
|
|
||||||
Outputs:
|
Outputs:
|
||||||
Tensor, the input `x`.
|
Tensor, the updated value.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
KeyError: If parameter with the specified name does not exist.
|
KeyError: If parameter with the specified name does not exist.
|
||||||
|
|
Loading…
Reference in New Issue