You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mindspore.nn.ParameterUpdate.rst 512 B

4 years ago
4 years ago
123456789101112131415161718192021222324
  1. mindspore.nn.ParameterUpdate
  2. =========================================
  3. .. py:class:: mindspore.nn.ParameterUpdate(param)
  4. 更新参数的Cell。
  5. 使用输入的 `Tensor` 值更新 `param` 的值。
  6. **参数:**
  7. - **param** (Parameter) - 输入的参数。
  8. **输入:**
  9. - **x** (Tensor)- shape和type与 `param` 相同的Tensor。
  10. **输出:**
  11. Tensor,输入 `x`。
  12. **异常:**
  13. - **KeyError** - 指定名称的参数不存在。