• Y
    Get OpProtos in Python · a76f7ed2
    Yu Yang 提交于
    * PyBind and SWIG of paddle cannot be load in a single Python process,
      lazy import all SWIG library of Paddle. Otherwise, the glog, gflags
      are imported twice in a same Python process.
    * Note that all PyBind11 return C++ std::string as an unicode. For
      protobuf, it is need be cast to `str` before use them.
    * Add unit test for Get `OpProtos`
    a76f7ed2
pybind.cc 2.4 KB