Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddbourgin/numpy-ml
/ __len__
Method
__len__
numpy_ml/utils/data_structures.py:90–91 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
88
return
fstr.format(self.capacity, self.heap_order, self._count)
89
90
def
__len__(self):
91
return
self._count
92
93
def
__iter__(self):
94
return
iter(self._pq)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected