dgl.sparse.DiagMatrix.dtype

property DiagMatrix.dtype

Returns the data type of the diagonal matrix.

Returns

Data type of the diagonal matrix

Return type

torch.dtype