| 28 | |
| 29 | template <typename Dtype> |
| 30 | void FlattenLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom, |
| 31 | const vector<Blob<Dtype>*>& top) { |
| 32 | top[0]->ShareData(*bottom[0]); |
| 33 | } |
| 34 | |
| 35 | template <typename Dtype> |
| 36 | void FlattenLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top, |