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

Method SetUp

src/caffe/test/test_math_functions.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 virtual void SetUp() {
27 Caffe::set_random_seed(1701);
28 this->blob_bottom_->Reshape(11, 17, 19, 23);
29 this->blob_top_->Reshape(11, 17, 19, 23);
30 // fill the values
31 FillerParameter filler_param;
32 GaussianFiller<Dtype> filler(filler_param);
33 filler.Fill(this->blob_bottom_);
34 filler.Fill(this->blob_top_);
35 }
36
37 virtual ~MathFunctionsTest() {
38 delete blob_bottom_;

Callers

nothing calls this directly

Calls 3

set_random_seedFunction · 0.85
ReshapeMethod · 0.45
FillMethod · 0.45

Tested by

no test coverage detected