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

Method EmbedLayerTest

src/caffe/test/test_embed_layer.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 typedef typename TypeParam::Dtype Dtype;
18 protected:
19 EmbedLayerTest()
20 : blob_bottom_(new Blob<Dtype>(4, 1, 1, 1)),
21 blob_top_(new Blob<Dtype>()) {
22 // fill the values
23 FillerParameter filler_param;
24 UniformFiller<Dtype> filler(filler_param);
25 filler.Fill(this->blob_bottom_);
26 blob_bottom_vec_.push_back(blob_bottom_);
27 blob_top_vec_.push_back(blob_top_);
28 }
29 virtual ~EmbedLayerTest() { delete blob_bottom_; delete blob_top_; }
30 Blob<Dtype>* const blob_bottom_;
31 Blob<Dtype>* const blob_top_;

Callers

nothing calls this directly

Calls 1

FillMethod · 0.45

Tested by

no test coverage detected