| 1 | // Tencent is pleased to support the open source community by making ncnn |
| 2 | // available. |
| 3 | // |
| 4 | // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. |
| 5 | // |
| 6 | // Licensed under the BSD 3-Clause License (the "License"); you may not use this |
| 7 | // file except in compliance with the License. You may obtain a copy of the |
| 8 | // License at |
| 9 | // |
| 10 | // https://opensource.org/licenses/BSD-3-Clause |
| 11 | // |
| 12 | // Unless required by applicable law or agreed to in writing, software |
| 13 | // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 14 | // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 15 | // License for the specific language governing permissions and limitations under |
| 16 | // the License. |
| 17 | |
| 18 | #ifndef LAYER_POOLING_X86_H |
| 19 | #define LAYER_POOLING_X86_H |
| 20 | |
| 21 | #include "pooling.h" |
| 22 | |
| 23 | namespace ncnn { |
| 24 | |
| 25 | class Pooling_x86 : public Pooling |
| 26 | { |
| 27 | public: |
| 28 | Pooling_x86(); |
| 29 | |
| 30 | virtual int create_pipeline(const Option& opt); |
| 31 | virtual int forward(const Mat& bottom_blob, Mat& top_blob, |
| 32 | const Option& opt) const; |
| 33 | }; |
| 34 | |
| 35 | } // namespace ncnn |
| 36 | |
| 37 | #endif // LAYER_POOLING_X86_H |