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

Method SetUp

src/caffe/test/test_convolution_layer.cpp:160–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 blob_top_(new Blob<Dtype>()),
159 blob_top_2_(new Blob<Dtype>()) {}
160 virtual void SetUp() {
161 // fill the values
162 FillerParameter filler_param;
163 filler_param.set_value(1.);
164 GaussianFiller<Dtype> filler(filler_param);
165 filler.Fill(this->blob_bottom_);
166 filler.Fill(this->blob_bottom_2_);
167 blob_bottom_vec_.push_back(blob_bottom_);
168 blob_top_vec_.push_back(blob_top_);
169 }
170
171 virtual ~ConvolutionLayerTest() {
172 delete blob_bottom_;

Callers 1

TYPED_TESTFunction · 0.45

Calls 1

FillMethod · 0.45

Tested by

no test coverage detected