dgl.sparse.SparseMatrix.dtype

property SparseMatrix.dtype: dtype

Returns the data type of the sparse matrix.

Returns:

Data type of the sparse matrix

Return type:

torch.dtype