"ppocr/modeling/architectures/base_model.py" did not exist on "55c28ed5b4d5d3482c7ad0bb5b8706eaf122a755"
  • moto's avatar
    Extract PyBind11 feature implementations (#1739) · 2a67fcc1
    moto authored
    This PR moves the code related to PyBind11 to the dedicated directory `torchaudio/csrc/pybind`.
    
    Before, features related to PyBind11 (I/O for file-like object) was implemented in `torchaudio/csrc/sox` and the binding was defined in `torchaudio/csrc/pybind.cpp`. We used macro definition `TORCH_API_INCLUDE_EXTENSION_H` to turn on/off the feature, in addition to including/excluding `torchaudio/csrc/pybind.cpp` in the list of compiled source.
    
    In the previous manner, in C++ example, one had to rebuild libtorchaudio separately, but by splitting them completely at compile time, it should conceptually possible to distribute libtorchaudio within torchaudio Python package and reuse it for C++ example.
    2a67fcc1
effects.h 749 Bytes