!5574 Add implicit conversion description for some ops in API

Merge pull request !5574 from lihongkang/lhk_master
pull/5574/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 8599a84afb

File diff suppressed because it is too large Load Diff

@ -27,6 +27,11 @@ class Assign(Primitive):
"""
Assign `Parameter` with a value.
Inputs of `variable` and `value` comply with the implicit type conversion rules to make the data types consistent.
If they have different data types, lower priority data type will be converted to
relatively highest priority data type.
RuntimeError exception will be thrown when the data type conversion of Parameter is required.
Inputs:
- **variable** (Parameter) - The `Parameter`.
- **value** (Tensor) - The value to assign.

Loading…
Cancel
Save