mindspore.Tensor.diagflat

Tensor.diagflat(offset=0)[source]

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