MNN/source/backend/cpu/CPUTopKV2.hpp

28 lines
578 B
C++
Raw Normal View History

2019-04-17 10:49:11 +08:00
//
// CPUTopKV2.hpp
// MNN
//
// Created by MNN on 2018/08/28.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef CPUTOPKV2_HPP
#define CPUTOPKV2_HPP
#include "Execution.hpp"
#include "MNN_generated.h"
namespace MNN {
class CPUTopKV2 : public Execution {
public:
CPUTopKV2(Backend *b, const TopKV2 *TopKV2Param);
virtual ~CPUTopKV2() = default;
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
private:
const TopKV2 *mTopKV2Param;
};
} // namespace MNN
#endif // CPUTOPKV2_HPP