Skip to main content

//clika-runtime/io.clika.runtime/Ops/trilInPlace

trilInPlace

[common]
fun trilInPlace(self: Tensor, diagonal: Long = 0): Tensor

trilInPlace(self: Tensor, diagonal: Long = 0L): the tril_ operator. In-place tril: zeroes the upper triangle through self; same arguments and error conditions as tril(). A view input writes through its base storage. 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.