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

Method Forward_cpu

src/caffe/layers/dummy_data_layer.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100template <typename Dtype>
101void DummyDataLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
102 const vector<Blob<Dtype>*>& top) {
103 for (int i = 0; i < top.size(); ++i) {
104 const int filler_id = (fillers_.size() > 1) ? i : 0;
105 if (refill_[filler_id]) {
106 fillers_[filler_id]->Fill(top[i]);
107 }
108 }
109}
110
111INSTANTIATE_CLASS(DummyDataLayer);
112REGISTER_LAYER_CLASS(DummyData);

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
FillMethod · 0.45

Tested by

no test coverage detected