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

Method LayerSetUp

src/caffe/layers/threshold_layer.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7template <typename Dtype>
8void ThresholdLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
9 const vector<Blob<Dtype>*>& top) {
10 NeuronLayer<Dtype>::LayerSetUp(bottom, top);
11 threshold_ = this->layer_param_.threshold_param().threshold();
12}
13
14template <typename Dtype>
15void ThresholdLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected