Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/649453932/Chinese-Text-Classification-Pytorch
/ build_iterator
Function
build_iterator
utils_fasttext.py:140–142 ·
view source on GitHub ↗
(dataset, config)
Source
from the content-addressed store, hash-verified
138
139
140
def
build_iterator(dataset, config):
141
iter = DatasetIterater(dataset, config.batch_size, config.device)
142
return
iter
143
144
145
def
get_time_dif(start_time):
Callers
nothing calls this directly
Calls
1
DatasetIterater
Class · 0.70
Tested by
no test coverage detected