1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

code refactoring

This commit is contained in:
Abhishek Gola
2026-07-08 18:27:45 +05:30
parent 12fb9a6c24
commit 059a93339c
3 changed files with 0 additions and 4 deletions
-2
View File
@@ -347,8 +347,6 @@ CV__DNN_INLINE_NS_BEGIN
{
public:
Ptr<LayerInfo> data;
/** @brief Computes and sets internal parameters according to inputs, outputs and blobs.
* @deprecated Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
* @param[in] input vector of already allocated input blobs
-1
View File
@@ -794,7 +794,6 @@ public:
if (!conv || !backendCtx || !conv->cudaSupported())
return Ptr<Layer>();
Ptr<CUDAConv2Layer> layer(new CUDAConv2Layer(conv, backendCtx));
layer->data = data;
layer->name = conv->name;
layer->type = conv->type;
layer->inputs = conv->inputs;
-1
View File
@@ -24,7 +24,6 @@ public:
if (!impl || !backendCtx || !impl->supportBackend(DNN_BACKEND_CUDA))
return Ptr<Layer>(); // unsupported -> CPU fallback
Ptr<CUDALegacyExec> e(new CUDALegacyExec(impl, backendCtx));
e->data = data;
e->name = impl->name;
e->type = impl->type;
e->inputs = impl->inputs;