| 91 | |
| 92 | template <typename Dtype> |
| 93 | void LRNLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom, |
| 94 | const vector<Blob<Dtype>*>& top) { |
| 95 | switch (this->layer_param_.lrn_param().norm_region()) { |
| 96 | case LRNParameter_NormRegion_ACROSS_CHANNELS: |
| 97 | CrossChannelForward_cpu(bottom, top); |
| 98 | break; |
| 99 | case LRNParameter_NormRegion_WITHIN_CHANNEL: |
| 100 | WithinChannelForward(bottom, top); |
| 101 | break; |
| 102 | default: |
| 103 | LOG(FATAL) << "Unknown normalization region."; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | template <typename Dtype> |
| 108 | void LRNLayer<Dtype>::CrossChannelForward_cpu( |
nothing calls this directly
no outgoing calls
no test coverage detected