Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ issparse
Method
issparse
ot/backend.py:1327–1328 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
1325
return
coo_matrix((data, (rows, cols)), shape=shape, dtype=type_as.dtype)
1326
1327
def
issparse(self, a):
1328
return
issparse(a)
1329
1330
def
tocsr(self, a):
1331
if
self.issparse(a):
Callers
3
tocsr
Method · 0.95
eliminate_zeros
Method · 0.95
todense
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected