mindspore.ops.Tril

class mindspore.ops.Tril(diagonal=0)[源代码]
prim = ops.Tril(diagonal)
out = prim(input)

等价于

ops.tril(input, diagonal)

更多详情请查看: mindspore.ops.tril()