mindspore.Tensor.diagonal

View Source On Gitee
Tensor.diagonal(offset=0, axis1=0, axis2=1)[source]

For details, please refer to mindspore.ops.diagonal().