mindspore.Tensor.index_add
- Tensor.index_add(dim, index, source, *, alpha=1)[source]
For details, please refer to
mindspore.ops.index_add()
. The corresponding relationships between the parameters of Tensor.index_add andmindspore.ops.index_add()
are as follows: dim -> axis, index -> indices, source * alpha -> y.