dgl.sparse.SparseMatrix.dtype

property SparseMatrix.dtype

Returns the data type of the sparse matrix.

Returns

Data type of the sparse matrix

Return type

torch.dtype