MNN/source/backend/cuda/execution/RangeExecution.hpp

33 lines
760 B
C++
Raw Permalink Normal View History

2020-11-05 16:41:56 +08:00
//
2022-11-08 17:05:14 +08:00
// RangeExecution.hpp
2020-11-05 16:41:56 +08:00
// MNN
//
2022-11-08 17:05:14 +08:00
// Created by MNN on 2022/04/21.
2020-11-05 16:41:56 +08:00
// Copyright © 2018, Alibaba Group Holding Limited
//
2022-11-08 17:05:14 +08:00
#ifndef RangeExecution_hpp
#define RangeExecution_hpp
2020-11-05 16:41:56 +08:00
#include "core/Execution.hpp"
#include <vector>
#include "backend/cuda/core/CUDABackend.hpp"
namespace MNN {
namespace CUDA {
2022-11-08 17:05:14 +08:00
class RangeExecution : public Execution {
2020-11-05 16:41:56 +08:00
public:
2022-11-08 17:05:14 +08:00
RangeExecution(Backend *backend);
virtual ~RangeExecution() = default;
2020-11-05 16:41:56 +08:00
virtual ErrorCode onResize(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
private:
};
} // namespace CUDA
} // namespace MNN
2022-11-08 17:05:14 +08:00
#endif /* SelectExecution_hpp */