MAX POOL layers can output an extra top blob for the mask; others can only output the pooled inputs.
| 30 | // MAX POOL layers can output an extra top blob for the mask; |
| 31 | // others can only output the pooled inputs. |
| 32 | virtual inline int MaxTopBlobs() const { |
| 33 | return (this->layer_param_.pooling_param().pool() == |
| 34 | PoolingParameter_PoolMethod_MAX) ? 2 : 1; |
| 35 | } |
| 36 | |
| 37 | protected: |
| 38 | virtual void Forward_cpu(const vector<Blob<Dtype>*>& bottom, |
nothing calls this directly
no outgoing calls
no test coverage detected