Skip to main content

ClikaRT::ops::tril_

function

tril_()

Tensor& tril_(Tensor& self, int64_t diagonal = 0)

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.

Declared in ClikaRT/compute/ops.h, line 3437