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_PADDING_HPP
6 #define OPENCV_DNN_SRC_CUDA4DNN_KERNELS_PADDING_HPP
8 #include "../csl/stream.hpp"
9 #include "../csl/tensor.hpp"
15 namespace cv { namespace dnn { namespace cuda4dnn { namespace kernels {
18 void copy_with_reflection101(
19 const csl::Stream& stream,
20 csl::TensorSpan<T> output, csl::TensorView<T> input,
21 std::vector<std::pair<std::size_t, std::size_t>> ranges);
23 }}}} /* namespace cv::dnn::cuda4dnn::kernels */
25 #endif /* OPENCV_DNN_SRC_CUDA4DNN_KERNELS_PADDING_HPP */