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

Method SetUp

src/caffe/test/test_hdf5data_layer.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 blob_top_label_(new Blob<Dtype>()),
26 blob_top_label2_(new Blob<Dtype>()) {}
27 virtual void SetUp() {
28 blob_top_vec_.push_back(blob_top_data_);
29 blob_top_vec_.push_back(blob_top_label_);
30 blob_top_vec_.push_back(blob_top_label2_);
31
32 // Check out generate_sample_data.py in the same directory.
33 filename = new string(ABS_TEST_DATA_DIR "/sample_data_list.txt");
34 LOG(INFO)<< "Using sample HDF5 data file " << filename;
35 }
36
37 virtual ~HDF5DataLayerTest() {
38 delete blob_top_data_;

Callers 1

TYPED_TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected