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

Remove reorder_dims attribute of Reshape layer

This commit is contained in:
Dmitry Kurtaev
2017-09-18 13:04:43 +03:00
parent cc547e8260
commit 17a85b16fc
5 changed files with 11 additions and 61 deletions
+1
View File
@@ -132,6 +132,7 @@ public:
for (size_t i = 0; i < inputs.size(); i++)
{
CV_Assert(inputs[i].size() == 4);
CV_Assert(inputs[i][2] == shapeBefore[2] && inputs[i][3] == shapeBefore[3]);
CV_Assert(total(inputs[i]) == total(shapeAfter));
outputs.push_back(shapeAfter);