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

Method PowerLayerTest

src/caffe/test/test_power_layer.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

set_random_seedFunction · 0.85
FillMethod · 0.45

Tested by

no test coverage detected