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

Method CuDNNNeuronLayerTest

src/caffe/test/test_neuron_layer.cpp:815–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813class CuDNNNeuronLayerTest : public GPUDeviceTest<Dtype> {
814 protected:
815 CuDNNNeuronLayerTest()
816 : blob_bottom_(new Blob<Dtype>(2, 3, 4, 5)),
817 blob_top_(new Blob<Dtype>()) {
818 Caffe::set_random_seed(1701);
819 // fill the values
820 FillerParameter filler_param;
821 GaussianFiller<Dtype> filler(filler_param);
822 filler.Fill(this->blob_bottom_);
823 blob_bottom_vec_.push_back(blob_bottom_);
824 blob_top_vec_.push_back(blob_top_);
825 }
826 virtual ~CuDNNNeuronLayerTest() { delete blob_bottom_; delete blob_top_; }
827 Blob<Dtype>* const blob_bottom_;
828 Blob<Dtype>* const blob_top_;

Callers

nothing calls this directly

Calls 2

set_random_seedFunction · 0.85
FillMethod · 0.45

Tested by

no test coverage detected