MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Forward_cpu

Method Forward_cpu

rtpose_wrapper/src/caffe/layers/split_layer.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25template <typename Dtype>
26void SplitLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
27 const vector<Blob<Dtype>*>& top) {
28 for (int i = 0; i < top.size(); ++i) {
29 top[i]->ShareData(*bottom[0]);
30 }
31}
32
33template <typename Dtype>
34void SplitLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,

Callers

nothing calls this directly

Calls 2

ShareDataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected