MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / __len__

Method __len__

deepspeed/utils/debug.py:51–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 return id(obj) in self._names
50
51 def __len__(self):
52 return len(self._names)
53
54 def clear(self):
55 for finalizer in self._finalizers.values():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected