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_CONCAT_HPP
6 #define OPENCV_DNN_SRC_CUDA4DNN_KERNELS_CONCAT_HPP
8 #include "../csl/stream.hpp"
9 #include "../csl/tensor.hpp"
14 namespace cv { namespace dnn { namespace cuda4dnn { namespace kernels {
18 const csl::Stream& stream,
19 csl::TensorSpan<T> output, std::size_t output_axis_offset,
20 csl::TensorView<T> input, std::size_t axis);
23 void concat_with_offsets(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> input, std::vector<std::size_t> axis_offsets);
25 }}}} /* namespace cv::dnn::cuda4dnn::kernels */
27 #endif /* OPENCV_DNN_SRC_CUDA4DNN_KERNELS_CONCAT_HPP */