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

Method LogBottomInit

src/caffe/test/test_neuron_layer.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 void LogBottomInit() {
140 FillerParameter filler_param;
141 GaussianFiller<Dtype> filler(filler_param);
142 filler.Fill(this->blob_bottom_);
143 Dtype* bottom_data = this->blob_bottom_->mutable_cpu_data();
144 caffe_exp(this->blob_bottom_->count(), bottom_data, bottom_data);
145 }
146
147 void TestLogForward(const float base, const float scale, const float shift) {
148 LogBottomInit();

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
FillMethod · 0.45
mutable_cpu_dataMethod · 0.45

Tested by

no test coverage detected