29 lines
620 B
C++
29 lines
620 B
C++
//
|
|
// QNNArgmax.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on b'2025/04/10'.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef MNN_QNNARGMAX_HPP
|
|
#define MNN_QNNARGMAX_HPP
|
|
|
|
#include "QNNCommonExecution.hpp"
|
|
#include "QnnTypes.h"
|
|
|
|
namespace MNN {
|
|
namespace QNN {
|
|
#ifdef ENABLE_QNN_ONLINE_FINALIZE
|
|
|
|
class QNNArgmax : public QNNCommonExecution {
|
|
public:
|
|
QNNArgmax(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
|