//clika-runtime/io.clika.runtime/Ops/indexFillInPlace
indexFillInPlace
[common]
fun indexFillInPlace(self: Tensor, dim: Long, indices: Tensor, value: Tensor): Tensor
indexFillInPlace(self: Tensor, dim: Long, indices: Tensor, value: Tensor): the index_fill_ operator. In-place index_fill: self[.., indices[i], ..] = value; same arguments and error conditions as index_fill(). Fills 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.
[common]
fun indexFillInPlace(self: Tensor, dim: Long, indices: Tensor, value: Double): Tensor
indexFillInPlace(self: Tensor, dim: Long, indices: Tensor, value: Double): the number form of index_fill_, value as a scalar.