Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ __len__
Method
__len__
tasks/base_task.py:48–49 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
46
raise
NotImplementedError
47
48
def
__len__(self):
49
return
len(self._sizes)
50
51
def
num_tokens(self, index):
52
return
self.size(index)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected