Browse Source

fix comment of scatter_max

tags/v0.3.0-alpha
zhaozhenlong 5 years ago
parent
commit
3382040e15
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

@@ -2107,7 +2107,7 @@ class ScatterMax(PrimitiveWithInfer):
use_locking (bool): Whether protect the assignment by a lock. Default: True. use_locking (bool): Whether protect the assignment by a lock. Default: True.


Inputs: Inputs:
- **input_x** (Tensor) - The target tensor.
- **input_x** (Parameter) - The target parameter.
- **indices** (Tensor) - The index to do max operation whose data type should be int. - **indices** (Tensor) - The index to do max operation whose data type should be int.
- **updates** (Tensor) - The tensor doing the maximum operation with 'input_x', - **updates** (Tensor) - The tensor doing the maximum operation with 'input_x',
the data type is same as 'input_x', the shape is 'indices_shape + x_shape[1:]'. the data type is same as 'input_x', the shape is 'indices_shape + x_shape[1:]'.


Loading…
Cancel
Save