• R
    [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
    Ryan 提交于
    * add enable_to_static and drop some methods of ProgramTranslator
    
    * fix code style
    
    * fix cant import enable_to_static and update unitest
    
    * change unitest and rollback code of PT
    
    * fix can't import as of utils
    
    * roll back PT
    
    * fix roll back
    
    * add some unitest
    
    * add unitest and fix codestyle bug in api.py
    
    * finish all unitest
    
    * remove ProgramTranslator
    
    * fix code style
    
    * restore test_program_translator
    
    * api.py remove get_func
    
    * TestDygraphToStaticCode
    
    * fix check_type and import err
    
    * roll back PT without getcode
    
    * roll back pt with get_code
    
    * convert_to_static
    
    * fix import __all__
    2bb28f31
api.py 66.2 KB