Browse Source

!8860 Add doc description for ScatterUpdate

From: @TFbunny
Reviewed-by: @tom__chen,@robingrosman
Signed-off-by: @robingrosman
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
2a9d5074cc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ops/operations/array_ops.py

+ 1
- 0
mindspore/ops/operations/array_ops.py 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:].



Loading…
Cancel
Save