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

Made separate functions for computing output shapes for all layers. Removed output blobs allocation from layers

This commit is contained in:
Aleksandr Rybnikov
2017-04-28 15:57:38 +03:00
parent 27bf9e2988
commit 9b73fee29d
37 changed files with 1109 additions and 904 deletions

View File

@@ -1,5 +1,7 @@
#ifdef HAVE_OPENCV_DNN
typedef dnn::DictValue LayerId;
typedef std::vector<dnn::MatShape> vector_MatShape;
typedef std::vector<std::vector<dnn::MatShape> > vector_vector_MatShape;
template<>
bool pyopencv_to(PyObject *o, dnn::DictValue &dv, const char *name)