//clika-runtime/io.clika.runtime/Ops/indexAddInPlace
indexAddInPlace
[common]
fun indexAddInPlace(self: Tensor, dim: Long, indices: Tensor, src: Tensor): Tensor
indexAddInPlace(self: Tensor, dim: Long, indices: Tensor, src: Tensor): the index_add_ operator. In-place index_add: self[.., indices[i], ..] += src[.., i, ..]; same arguments and error conditions as index_add(). Accumulates through self's storage (a strided view reaches its base buffer; aliases observe the write). Returns self under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling. Writes through self and returns it, so calls chain.