1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-23 18:09:25 +08:00

Blobs reuse improvement (#1205)

* Reuse deep learning output blobs

* Changed order for iterating through blobs while seeking memory. Refactored a little.
This commit is contained in:
Aleksandr Rybnikov
2017-06-09 21:36:19 +03:00
committed by Vadim Pisarevsky
parent 1c8809ff7d
commit 09b73b2dc7
10 changed files with 377 additions and 87 deletions

View File

@@ -2,6 +2,7 @@
typedef dnn::DictValue LayerId;
typedef std::vector<dnn::MatShape> vector_MatShape;
typedef std::vector<std::vector<dnn::MatShape> > vector_vector_MatShape;
typedef std::vector<size_t> vector_size_t;
template<>
bool pyopencv_to(PyObject *o, dnn::DictValue &dv, const char *name)