Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ cyclic_iter
Function
cyclic_iter
codegeex/megatron/training.py:1214–1217 ·
view source on GitHub ↗
(iter)
Source
from the content-addressed store, hash-verified
1212
1213
1214
def
cyclic_iter(iter):
1215
while
True:
1216
for
x in iter:
1217
yield
x
1218
1219
1220
def
build_train_valid_test_data_iterators(build_train_valid_test_datasets_provider):
Callers
1
build_train_valid_test_data_iterators
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected