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

Method SetUp

src/caffe/test/test_data_layer.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 blob_top_label_(new Blob<Dtype>()),
31 seed_(1701) {}
32 virtual void SetUp() {
33 filename_.reset(new string());
34 MakeTempDir(filename_.get());
35 *filename_ += "/db";
36 blob_top_vec_.push_back(blob_top_data_);
37 blob_top_vec_.push_back(blob_top_label_);
38 }
39
40 // Fill the DB with data: if unique_pixels, each pixel is unique but
41 // all images are the same; else each image is unique but all pixels within

Callers 6

TestReadMethod · 0.45
TestSkipMethod · 0.45
TestReshapeMethod · 0.45
TestReadCropMethod · 0.45

Calls 3

MakeTempDirFunction · 0.85
resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected