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

Method LayerSetUp

src/caffe/layers/accuracy_layer.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10template <typename Dtype>
11void AccuracyLayer<Dtype>::LayerSetUp(
12 const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
13 top_k_ = this->layer_param_.accuracy_param().top_k();
14
15 has_ignore_label_ =
16 this->layer_param_.accuracy_param().has_ignore_label();
17 if (has_ignore_label_) {
18 ignore_label_ = this->layer_param_.accuracy_param().ignore_label();
19 }
20}
21
22template <typename Dtype>
23void AccuracyLayer<Dtype>::Reshape(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected