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.py:116–118 ·
view source on GitHub ↗
(dataset, config)
Source
from the content-addressed store, hash-verified
114
115
116
def
build_iterator(dataset, config):
117
iter = DatasetIterater(dataset, config.batch_size, config.device)
118
return
iter
119
120
121
def
get_time_dif(start_time):
Callers
1
run.py
File · 0.90
Calls
1
DatasetIterater
Class · 0.70
Tested by
no test coverage detected