| 7 | |
| 8 | template <typename Dtype> |
| 9 | void AbsValLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, |
| 10 | const vector<Blob<Dtype>*>& top) { |
| 11 | NeuronLayer<Dtype>::LayerSetUp(bottom, top); |
| 12 | CHECK_NE(top[0], bottom[0]) << this->type() << " Layer does not " |
| 13 | "allow in-place computation."; |
| 14 | } |
| 15 | |
| 16 | template <typename Dtype> |
| 17 | void AbsValLayer<Dtype>::Forward_cpu( |