• A
    [CustomOp] Support install as Package and Add load interface (#30798) · e49d0746
    Aurelius84 提交于
    * support setup.py to compile custom op
    
    * move file into paddle.utils.cpp_extension
    
    * support python setup.py install
    
    * refine code style
    
    * Enrich code and add unittest
    
    * Polish code and api doc
    
    * fix cpp_extension not include in package
    
    * fix relative import
    
    * fix os.makedirs exist_ok param compatibility PY2
    
    * add compile flags in test_jit_load
    e49d0746
cpp_extension.py 13.0 KB