| 9 | |
| 10 | template <typename Dtype> |
| 11 | void 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 | |
| 22 | template <typename Dtype> |
| 23 | void AccuracyLayer<Dtype>::Reshape( |
nothing calls this directly
no outgoing calls
no test coverage detected