Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ __len__
Method
__len__
relogic/pretrainkit/trainer.py:126–127 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
124
return
iter(indices)
125
126
def
__len__(self):
127
return
self.num_samples
128
129
130
def
get_tpu_sampler(dataset: Dataset):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected