//clika-runtime/io.clika.runtime/Ops/scatterInPlace
scatterInPlace
[common]
fun scatterInPlace(self: Tensor, dim: Long, index: Tensor, src: Tensor): Tensor
scatterInPlace(self: Tensor, dim: Long, index: Tensor, src: Tensor): the scatter_ operator. In-place scatter: writes through self at the indexed positions; same arguments and error conditions as scatter(). Writes through self's storage (a strided view reaches its base buffer). Returns self for chaining. Writes through self and returns it, so calls chain.
[common]
fun scatterInPlace(self: Tensor, dim: Long, index: Tensor, src: Double): Tensor
scatterInPlace(self: Tensor, dim: Long, index: Tensor, src: Double): the number form of scatter_, src as a scalar.