mindspore.Tensor.diagonal

mindspore.Tensor.diagonal(offset=0, axis1=0, axis2=1)[源代码]

详情请参考 mindspore.ops.diagonal()