MCPcopy Create free account
hub / github.com/alibaba/MNN / join

Method join

tools/train/source/data/DataLoader.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void DataLoader::join() {
80 for (int i = 0; i < mConfig->numWorkers; i++) {
81 Job j;
82 j.quit = true;
83 mJobs->push(std::move(j));
84 }
85 for (auto& worker : mWorkers) {
86 worker.join();
87 }
88}
89
90void DataLoader::reset() {
91 clean();

Callers 15

prue_mnn_ops.pyFile · 0.80
runFunction · 0.80
get_model.pyFile · 0.80
testPTQ.pyFile · 0.80
write_hppFunction · 0.80
write_cppFunction · 0.80
mainFunction · 0.80
testFunction · 0.80
testResource.pyFile · 0.80

Calls 1

pushMethod · 0.45

Tested by 15

runFunction · 0.64
testFunction · 0.64
__copy_to_hereMethod · 0.64
grpc_server_testFunction · 0.64
runMethod · 0.64
_runMethod · 0.64
_runMethod · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64