do_max_pooling_4x4_nchw44.h 925 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/**
 * \file dnn/src/arm_common/pooling/do_max_pooling_4x4_nchw44.h
 * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
 *
 * Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 */
#pragma once
#include "src/common/utils.h"

namespace megdnn {
namespace arm_common {

#define KERN(strdie)                                                         \
    void do_max_pooling_4x4_##strdie##_int8_nchw44_NEON(                     \
            const int8_t* src, int8_t* dst, size_t IH, size_t IW, size_t OH, \
            size_t OW, size_t PH, size_t PW);

KERN(stride1)
KERN(stride2)

#undef KERN
}  // namespace arm_common
}  // namespace megdnn

// vim: syntax=cpp.doxygen