| 19 | |
| 20 | protected: |
| 21 | EltwiseLayerTest() |
| 22 | : blob_bottom_a_(new Blob<Dtype>(2, 3, 4, 5)), |
| 23 | blob_bottom_b_(new Blob<Dtype>(2, 3, 4, 5)), |
| 24 | blob_bottom_c_(new Blob<Dtype>(2, 3, 4, 5)), |
| 25 | blob_top_(new Blob<Dtype>()) { |
| 26 | // fill the values |
| 27 | Caffe::set_random_seed(1701); |
| 28 | FillerParameter filler_param; |
| 29 | UniformFiller<Dtype> filler(filler_param); |
| 30 | filler.Fill(this->blob_bottom_a_); |
| 31 | filler.Fill(this->blob_bottom_b_); |
| 32 | filler.Fill(this->blob_bottom_c_); |
| 33 | blob_bottom_vec_.push_back(blob_bottom_a_); |
| 34 | blob_bottom_vec_.push_back(blob_bottom_b_); |
| 35 | blob_bottom_vec_.push_back(blob_bottom_c_); |
| 36 | blob_top_vec_.push_back(blob_top_); |
| 37 | } |
| 38 | virtual ~EltwiseLayerTest() { |
| 39 | delete blob_bottom_a_; |
| 40 | delete blob_bottom_b_; |
nothing calls this directly
no test coverage detected