Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ issparse
Method
issparse
ot/backend.py:3179–3180 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
3177
return
self.todense(sparse_tensor)
3178
3179
def
issparse(self, a):
3180
return
isinstance(a, tf.sparse.SparseTensor)
3181
3182
def
tocsr(self, a):
3183
return
a
Callers
2
eliminate_zeros
Method · 0.95
todense
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected