// // QNNFlatten.hpp // MNN // // Created by MNN on b'2025/04/10'. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef MNN_QNNFLATTEN_HPP #define MNN_QNNFLATTEN_HPP #include "QNNCommonExecution.hpp" namespace MNN { namespace QNN { #ifdef ENABLE_QNN_ONLINE_FINALIZE class QNNFlatten : public QNNCommonExecution { public: QNNFlatten(Backend *backend, const Op *op) : QNNCommonExecution(backend, op) {} virtual ErrorCode onEncode(const std::vector &inputs, const std::vector &outputs) override; void ReshapeTranspose(const std::vector &inputs, const std::vector &outputs); }; #endif } // end namespace QNN } // end namespace MNN #endif // end MNN_QNNFLATTEN_HPP