Browse Source

update the comment of TensorScatterUpdate

tags/v1.2.0-rc1
yepei6 5 years ago
parent
commit
0ed36cee82
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/array_ops.py

+ 1
- 1
mindspore/ops/operations/array_ops.py View File

@@ -3375,7 +3375,7 @@ class TensorScatterUpdate(PrimitiveWithInfer):
Updates tensor values using given values, along with the input indices.

Inputs:
- **input_x** (Tensor) - The target tensor. The dimension of input_x must be equal to indices.shape[-1].
- **input_x** (Tensor) - The target tensor. The dimension of input_x must be no less than indices.shape[-1].
- **indices** (Tensor) - The index of input tensor whose data type is int32 or int64.
- **update** (Tensor) - The tensor to update the input tensor, has the same type as input,
and update.shape = indices.shape[:-1] + input_x.shape[indices.shape[-1]:].


Loading…
Cancel
Save