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_SLICE_HPP
6 #define OPENCV_DNN_SRC_CUDA4DNN_KERNELS_SLICE_HPP
8 #include "../csl/stream.hpp"
9 #include "../csl/tensor.hpp"
13 namespace cv { namespace dnn { namespace cuda4dnn { namespace kernels {
16 void slice(const csl::Stream& stream,
17 csl::TensorSpan<T> output, csl::TensorView<T> input,
18 std::vector<std::size_t> offsets);
20 }}}} /* namespace cv::dnn::cuda4dnn::kernels */
22 #endif /* OPENCV_DNN_SRC_CUDA4DNN_KERNELS_SLICE_HPP */