Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/HumanBench
/ __len__
Method
__len__
PATH/core/models/ops/boxes.py:237–238 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
235
return
Boxes(b)
236
237
def
__len__(self) -> int:
238
return
self.tensor.shape[0]
239
240
def
__repr__(self) -> str:
241
return
"Boxes("
+ str(self.tensor) +
")"
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected