triu_

paddle. triu_ ( x, diagonal=0, name=None ) [source]

Inplace version of triu API, the output Tensor will be inplaced with input x. Please refer to triu.