| 17 | typedef typename TypeParam::Dtype Dtype; |
| 18 | protected: |
| 19 | ReshapeLayerTest() |
| 20 | : blob_bottom_(new Blob<Dtype>(2, 3, 6, 5)), |
| 21 | blob_top_(new Blob<Dtype>()) { |
| 22 | // fill the values |
| 23 | FillerParameter filler_param; |
| 24 | GaussianFiller<Dtype> filler(filler_param); |
| 25 | filler.Fill(this->blob_bottom_); |
| 26 | blob_bottom_vec_.push_back(blob_bottom_); |
| 27 | blob_top_vec_.push_back(blob_top_); |
| 28 | } |
| 29 | |
| 30 | virtual ~ReshapeLayerTest() { delete blob_bottom_; delete blob_top_; } |
| 31 |