mirror of https://github.com/alibaba/MNN.git
24 lines
708 B
C++
24 lines
708 B
C++
//
|
|
// CPUReduction.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2018/08/02.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef CPUReduction_hpp
|
|
#define CPUReduction_hpp
|
|
|
|
#include "backend/cpu/CPUBackend.hpp"
|
|
|
|
namespace MNN {
|
|
class CPUReductionCreator : public CPUBackend::Creator {
|
|
public:
|
|
static Execution* create(const std::vector<Tensor*>& inputs, const std::vector<Tensor*>& outputs,
|
|
const MNN::Op* op, Backend* backend);
|
|
virtual Execution* onCreate(const std::vector<Tensor*>& inputs, const std::vector<Tensor*>& outputs,
|
|
const MNN::Op* op, Backend* backend) const override;
|
|
};
|
|
} // namespace MNN
|
|
#endif /* CPUReduction_hpp */
|