MCPcopy Create free account
hub / github.com/BVLC/caffe / Next

Method Next

src/caffe/layers/data_layer.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69template<typename Dtype>
70void DataLayer<Dtype>::Next() {
71 cursor_->Next();
72 if (!cursor_->valid()) {
73 LOG_IF(INFO, Caffe::root_solver())
74 << "Restarting data prefetching from start.";
75 cursor_->SeekToFirst();
76 }
77 offset_++;
78}
79
80// This function is called on prefetch thread
81template<typename Dtype>

Callers 2

mainFunction · 0.45
TYPED_TESTFunction · 0.45

Calls 2

validMethod · 0.45
SeekToFirstMethod · 0.45

Tested by 1

TYPED_TESTFunction · 0.36