| 24 | |
| 25 | template <typename Dtype> |
| 26 | void 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 | |
| 33 | template <typename Dtype> |
| 34 | void SplitLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top, |