Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/GLM
/ __len__
Method
__len__
configure_data.py:52–53 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
50
self.weights /= self.weights.sum()
51
52
def
__len__(self):
53
return
self.total_len * 1000
54
55
@staticmethod
56
def
pet_wrapper(data):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected