30 lines
648 B
C++
30 lines
648 B
C++
//
|
|
// QNNReduce.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on b'2025/04/10'.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef MNN_QNNREDUCE_HPP
|
|
#define MNN_QNNREDUCE_HPP
|
|
|
|
#include "QNNCommonExecution.hpp"
|
|
#include "QNNUtils.hpp"
|
|
|
|
namespace MNN {
|
|
namespace QNN {
|
|
#ifdef ENABLE_QNN_ONLINE_FINALIZE
|
|
|
|
class QNNReduce : public QNNCommonExecution {
|
|
public:
|
|
QNNReduce(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_QNNREDUCE_HPP
|