Skip to main content

ClikaRT::ops::triu_

function

triu_()

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

In-place triu: zeroes the lower triangle through self; same arguments and error conditions as triu(). 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 3452