1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
5 #ifndef OPENCV_DNN_SRC_CUDA4DNN_KERNELS_RESIZE_HPP
6 #define OPENCV_DNN_SRC_CUDA4DNN_KERNELS_RESIZE_HPP
8 #include "../csl/stream.hpp"
9 #include "../csl/tensor.hpp"
13 namespace cv { namespace dnn { namespace cuda4dnn { namespace kernels {
16 void resize_nn(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> input);
19 void resize_bilinear(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> input, float scale_y, float scale_x);
21 }}}} /* namespace cv::dnn::cuda4dnn::kernels */
23 #endif /* OPENCV_DNN_SRC_CUDA4DNN_KERNELS_RESIZE_HPP */