MCPcopy Create free account
hub / github.com/BVLC/caffe / EltwiseLayerTest

Method EltwiseLayerTest

src/caffe/test/test_eltwise_layer.cpp:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 2

set_random_seedFunction · 0.85
FillMethod · 0.45

Tested by

no test coverage detected