mirror of https://github.com/alibaba/MNN.git
33 lines
657 B
C++
33 lines
657 B
C++
//
|
|
// VulkanInterp.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2019/01/31.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef VulkanInterp_hpp
|
|
#define VulkanInterp_hpp
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "backend/vulkan/execution/VulkanResize.hpp"
|
|
|
|
namespace MNN {
|
|
|
|
class VulkanInterp : public VulkanResize {
|
|
public:
|
|
VulkanInterp(const Op *op, Backend *bn);
|
|
virtual ~VulkanInterp();
|
|
|
|
ErrorCode onEncode(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs,
|
|
const VulkanCommandPool::Buffer *cmdBuffer) override;
|
|
|
|
private:
|
|
bool mAlignCorners;
|
|
};
|
|
|
|
} // namespace MNN
|
|
|
|
#endif /* VulkanInterp_hpp */
|