fix device type of assign_sub

This commit is contained in:
mengyuanli 2022-10-13 10:01:27 +08:00
parent abbceb3f16
commit 6236719fcb
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def assign_sub(variable, value):
when data type conversion of Parameter is not supported.
Supported Platforms:
``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> variable = mindspore.Parameter(initializer(1, [1], mindspore.int32), name="global_step")