From 9cf71fe32fa447a8ee38dbd6acc98c4cb6be032c Mon Sep 17 00:00:00 2001 From: Peilin Wang Date: Mon, 15 Mar 2021 16:48:16 -0400 Subject: [PATCH] fix typo for TensorScatterUpdate --- mindspore/ops/operations/array_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/array_ops.py b/mindspore/ops/operations/array_ops.py index 0d2cd3de43..de03e72154 100644 --- a/mindspore/ops/operations/array_ops.py +++ b/mindspore/ops/operations/array_ops.py @@ -3380,7 +3380,7 @@ class TensorScatterUpdate(PrimitiveWithInfer): vectors. For each index vector, there must be a corresponding value in `update`. If the depth of each index tensor matches the rank of `input_x`, then each index vector corresponds to a scalar in `input_x` and each update updates a scalar. If - the depth of each index tensor is less than the rnak of `input_x`, then each index + the depth of each index tensor is less than the rank of `input_x`, then each index vector corresponds to a slice in `input_x`, and each update updates a slice. The order in which updates are applied is nondeterministic, meaning that if there