mindspore.Tensor.diagonal_scatter

Tensor.diagonal_scatter(src, offset=0, dim1=0, dim2=1)[source]

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