mirror of https://github.com/alibaba/MNN.git
31 lines
723 B
C++
31 lines
723 B
C++
//
|
|
// CPUDepthToSpace.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2019/07/15.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef CPUDepthToSpace_hpp
|
|
#define CPUDepthToSpace_hpp
|
|
|
|
#include "core/Execution.hpp"
|
|
|
|
namespace MNN {
|
|
|
|
template <typename T>
|
|
class CPUDepthToSpace : public Execution {
|
|
public:
|
|
CPUDepthToSpace(Backend* backend, const MNN::Op* op);
|
|
virtual ~CPUDepthToSpace() = default;
|
|
virtual ErrorCode onResize(const std::vector<Tensor*> &inputs, const std::vector<Tensor*> &outputs) override;
|
|
virtual ErrorCode onExecute(const std::vector<Tensor*> &inputs, const std::vector<Tensor*> &outputs) override;
|
|
|
|
private:
|
|
const MNN::Op* mOp;
|
|
};
|
|
|
|
} // namespace MNN
|
|
|
|
#endif /* CPUDepthToSpace */
|