21 lines
513 B
C++
21 lines
513 B
C++
#ifndef MNN_QNNAttention_HPP
|
|
#define MNN_QNNAttention_HPP
|
|
|
|
#include "QNNCommonExecution.hpp"
|
|
|
|
namespace MNN {
|
|
namespace QNN {
|
|
#ifdef ENABLE_QNN_ONLINE_FINALIZE
|
|
|
|
class QNNAttention : public QNNCommonExecution {
|
|
public:
|
|
QNNAttention(Backend *backend, const Op *op) : QNNCommonExecution(backend, op) {}
|
|
virtual ErrorCode onEncode(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
|
|
|
|
};
|
|
#endif
|
|
} // end namespace QNN
|
|
} // end namespace MNN
|
|
|
|
#endif // end MNN_QNNAttention_HPP
|