// // QNNSoftmax.hpp // MNN // // Created by MNN on b'2025/04/10'. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef MNN_QNNSOFTMAX_HPP #define MNN_QNNSOFTMAX_HPP #include "QNNCommonExecution.hpp" #include "QnnTypes.h" namespace MNN { namespace QNN { #ifdef ENABLE_QNN_ONLINE_FINALIZE class QNNSoftmax : public QNNCommonExecution { public: QNNSoftmax(Backend *backend, const Op *op, int axis) : QNNCommonExecution(backend, op) {mAxis = axis;} virtual ErrorCode onEncode(const std::vector &inputs, const std::vector &outputs) override; private: ErrorCode onEncodePermute(const std::vector &inputs, const std::vector &outputs); int mAxis; }; #endif } // end namespace QNN } // end namespace MNN #endif