dgl.sparse.SparseMatrix.deviceΒΆ

property SparseMatrix.deviceΒΆ

Returns the device the sparse matrix is on.

Returns

The device the sparse matrix is on

Return type

torch.device