mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #14951 from alalek:issue_14937
This commit is contained in:
commit
bff90d4684
@ -460,11 +460,11 @@ public:
|
||||
|
||||
std::vector<Ptr<BackendWrapper> > blobsWrapper;
|
||||
|
||||
if (newWeightAndBias)
|
||||
if (fusedWeights)
|
||||
{
|
||||
Mat wm;
|
||||
weightsMat.copyTo(wm); // to handle the case of isContinuous() == false
|
||||
wm.reshape(1, blobs[0].dims, blobs[0].size);
|
||||
wm = wm.reshape(1, blobs[0].dims, blobs[0].size);
|
||||
blobsWrapper.push_back(Ptr<BackendWrapper>(new VkComBackendWrapper(wm)));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user