mirror of https://github.com/alibaba/MNN.git
				
				
				
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			524 B
		
	
	
	
		
			C++
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			524 B
		
	
	
	
		
			C++
		
	
	
	
//
 | 
						|
//  CPUTopKV2.hpp
 | 
						|
//  MNN
 | 
						|
//
 | 
						|
//  Created by MNN on 2018/08/28.
 | 
						|
//  Copyright © 2018, Alibaba Group Holding Limited
 | 
						|
//
 | 
						|
 | 
						|
#ifndef CPUTOPKV2_HPP
 | 
						|
#define CPUTOPKV2_HPP
 | 
						|
 | 
						|
#include "core/Execution.hpp"
 | 
						|
#include "MNN_generated.h"
 | 
						|
 | 
						|
namespace MNN {
 | 
						|
class CPUTopKV2 : public Execution {
 | 
						|
public:
 | 
						|
    CPUTopKV2(Backend *b);
 | 
						|
    virtual ~CPUTopKV2() = default;
 | 
						|
    virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
 | 
						|
 | 
						|
private:
 | 
						|
};
 | 
						|
} // namespace MNN
 | 
						|
 | 
						|
#endif // CPUTOPKV2_HPP
 |