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

Fixed ANN_MLP dw initialization when moment is not 0

This commit is contained in:
Maksim Shabunin
2015-05-13 12:05:08 +03:00
parent 4af2eb22ab
commit b95769333c
+1 -1
View File
@@ -739,7 +739,7 @@ public:
int n = layer_sizes[i];
x[i].resize(n+1);
df[i].resize(n);
dw[i].create(weights[i].size(), CV_64F);
dw[i] = Mat::zeros(weights[i].size(), CV_64F);
}
Mat _idx_m(1, count, CV_32S);