Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Duankaiwen/CenterNet
/ _isArrayLike
Function
_isArrayLike
data/coco/PythonAPI/pycocotools/coco.py:66–67 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
64
65
66
def
_isArrayLike(obj):
67
return
hasattr(obj,
'__iter__'
) and hasattr(obj,
'__len__'
)
68
69
70
class
COCO:
Callers
6
getAnnIds
Method · 0.85
getCatIds
Method · 0.85
getImgIds
Method · 0.85
loadAnns
Method · 0.85
loadCats
Method · 0.85
loadImgs
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected