From be933b72cb3cdb476decf83eabbcddb83dc1f4bc Mon Sep 17 00:00:00 2001 From: TFbunny Date: Fri, 20 Nov 2020 10:48:44 -0500 Subject: [PATCH] Add description for ScatterUpdate --- mindspore/ops/operations/array_ops.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mindspore/ops/operations/array_ops.py b/mindspore/ops/operations/array_ops.py index ab682c4db1..cf7d48bbe0 100644 --- a/mindspore/ops/operations/array_ops.py +++ b/mindspore/ops/operations/array_ops.py @@ -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:].