Caffe2 - C++ API
A deep learning, cross platform ML framework
py_export.cc
1 #include <pybind11/pybind11.h>
2 
3 #include "caffe2/distributed/store_handler.h"
4 
5 namespace caffe2 {
6 namespace python {
7 
8 namespace py = pybind11;
9 
10 PYBIND11_MODULE(python, m) {
11  m.doc() = "Python interface for distributed Caffe2";
12 
13  py::register_exception<StoreHandlerNotAvailableException>(
14  m, "StoreHandlerNotAvailableError");
15 
16  py::register_exception<StoreHandlerTimeoutException>(
17  m, "StoreHandlerTimeoutError");
18 }
19 
20 } // namespace python
21 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13