update docs

This commit is contained in:
shaojunsong 2023-03-02 10:10:49 +08:00
parent d674dcc043
commit dbac18fa6b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ mindspore.nn.ParameterUpdate
- **x** (Tensor) - shape和type与 `param` 相同的Tensor。
输出:
Tensor输入 `x`
Tensor更新后的值
异常:
- **KeyError** - 指定名称的参数不存在。

View File

@ -725,7 +725,7 @@ class ParameterUpdate(Cell):
- **x** (Tensor) - A tensor whose shape and type are the same with `param`.
Outputs:
Tensor, the input `x`.
Tensor, the updated value.
Raises:
KeyError: If parameter with the specified name does not exist.