MCPcopy Create free account
hub / github.com/apache/singa / AsyncLoadData

Method AsyncLoadData

examples/cpp/imagenet/ilsvrc12.h:295–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295std::thread ILSVRC::AsyncLoadData(int flag, string file, size_t read_size,
296 Tensor *x, Tensor *y, size_t *n_read,
297 int nthreads) {
298 return std::thread(
299 [=]() { LoadData(flag, file, read_size, x, y, n_read, nthreads); });
300}
301
302size_t ILSVRC::LoadData(int flag, string file, size_t read_size, Tensor *x,
303 Tensor *y, size_t *n_read, int nthreads) {

Callers 2

TrainOneEpochFunction · 0.80
TestOneEpochFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestOneEpochFunction · 0.64