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

Method ReductionLayerTest

src/caffe/test/test_reduction_layer.cpp:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19 protected:
20 ReductionLayerTest()
21 : blob_bottom_(new Blob<Dtype>(2, 3, 4, 5)),
22 blob_top_(new Blob<Dtype>()) {
23 // fill the values
24 Caffe::set_random_seed(1701);
25 FillerParameter filler_param;
26 UniformFiller<Dtype> filler(filler_param);
27 filler.Fill(this->blob_bottom_);
28 blob_bottom_vec_.push_back(blob_bottom_);
29 blob_top_vec_.push_back(blob_top_);
30 }
31 virtual ~ReductionLayerTest() {
32 delete blob_bottom_;
33 delete blob_top_;

Callers

nothing calls this directly

Calls 2

set_random_seedFunction · 0.85
FillMethod · 0.45

Tested by

no test coverage detected