Merge pull request #25130 from CSBVision:patch-6

Update net_impl.cpp and net.cpp to fix the first part of #25112
This commit is contained in:
Alexander Smorkalov 2024-03-02 12:37:47 +03:00 committed by GitHub
commit deab144e22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ CV__DNN_INLINE_NS_BEGIN
Net::Net()
: impl(makePtr<Net::Impl>())
{
setPreferableBackend(DNN_BACKEND_DEFAULT);
}
Net::~Net()