mindspore.ops.Triu
- class mindspore.ops.Triu(diagonal=0)[source]
prim = ops.Triu(diagonal) out = prim(input)
is equivalent to
ops.triu(input, diagonal)
Refer to
mindspore.ops.triu()
for more details.
prim = ops.Triu(diagonal)
out = prim(input)
is equivalent to
ops.triu(input, diagonal)
Refer to mindspore.ops.triu()
for more details.