legate_sparse.isspmatrix_csr#

legate_sparse.isspmatrix_csr(obj)#

Check if an object is a CSR sparse matrix.

Parameters:

obj (object) – The object to check.

Returns:

True if the object is a CSR sparse matrix, False otherwise.

Return type:

bool