Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ __len__
Method
__len__
deepspeed/utils/static_cache.py:494–495 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
492
layer.reset()
493
494
def
__len__(self):
495
return
len(self._layers)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected