Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CSAILVision/gandissect
/ __len__
Method
__len__
netdissect/sampler.py:29–30 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
27
return
iter(self.samples)
28
29
def
__len__(self):
30
return
len(self.samples)
31
32
def
__getitem__(self, key):
33
return
self.samples[key]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected