Download modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 2.06 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
- Command line
-
hf download hf://tgollogly/test/modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
-
curl -L -o eltwise_ops.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
2.06 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| namespace cv { namespace dnn { namespace cuda4dnn { namespace kernels { | |
| template <class T> | |
| void eltwise_max_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_min_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_sum_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_sum_coeff_2(const csl::Stream& stream, csl::TensorSpan<T> output, T coeff_x, csl::TensorView<T> x, T coeff_y, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_prod_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_div_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_sub_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_mod_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_fmod_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| template <class T> | |
| void eltwise_pow_2(const csl::Stream& stream, csl::TensorSpan<T> output, csl::TensorView<T> x, csl::TensorView<T> y); | |
| }}}} /* namespace cv::dnn::cuda4dnn::kernels */ | |