diff options
Diffstat (limited to 'python/caffe/pycaffe.cpp')
-rw-r--r-- | python/caffe/pycaffe.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/caffe/pycaffe.cpp b/python/caffe/pycaffe.cpp index 6c87d0f9..4d28ca64 100644 --- a/python/caffe/pycaffe.cpp +++ b/python/caffe/pycaffe.cpp @@ -20,6 +20,8 @@ #define PyArray_SetBaseObject(arr, x) (PyArray_BASE(arr) = (x)) #endif + +using namespace caffe; // NOLINT(build/namespaces) using boost::python::extract; using boost::python::len; using boost::python::list; @@ -27,7 +29,6 @@ using boost::python::object; using boost::python::handle; using boost::python::vector_indexing_suite; -namespace caffe { // wrap shared_ptr<Blob<float> > in a class that we construct in C++ and pass // to Python @@ -278,5 +279,3 @@ BOOST_PYTHON_MODULE(pycaffe) { import_array(); } - -} // namespace caffe |