mindspore.Tensor.index_add

View Source On Gitee
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 and mindspore.ops.index_add() are as follows: dim -> axis, index -> indices, source * alpha -> y.