!8860 Add doc description for ScatterUpdate

From: @TFbunny
Reviewed-by: @tom__chen,@robingrosman
Signed-off-by: @robingrosman
This commit is contained in:
mindspore-ci-bot 2020-11-21 04:35:05 +08:00 committed by Gitee
commit 2a9d5074cc
1 changed files with 1 additions and 0 deletions

View File

@ -3080,6 +3080,7 @@ class ScatterUpdate(_ScatterOp_Dynamic):
Inputs:
- **input_x** (Parameter) - The target tensor, with data type of Parameter.
- **indices** (Tensor) - The index of input tensor. With int32 data type.
If there are duplicates in indices, the order for updating is undefined.
- **updates** (Tensor) - The tensor to update the input tensor, has the same type as input,
and updates.shape = indices.shape + input_x.shape[1:].