1. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  2. 03 11月, 2021 1 次提交
    • 0
      [Dy2stat]support Python3 type annotation (#36544) · db8425ec
      0x45f 提交于
      * Support Py3 type annotations in @to_static
      
      * support type hint for args in func
      
      * support type hint assign
      
      * if annotation and value(Constant) are diffent type, we use value type
      
      * polish type_from_annotation()
      
      * code format
      
      * code format
      
      * remove useless commentary
      
      * fix review
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      db8425ec
  3. 27 10月, 2021 1 次提交
  4. 12 10月, 2021 1 次提交
  5. 14 9月, 2021 1 次提交
  6. 03 9月, 2021 1 次提交
  7. 01 9月, 2021 1 次提交
  8. 27 1月, 2021 1 次提交
  9. 11 1月, 2021 1 次提交
  10. 19 11月, 2020 1 次提交
    • L
      [Dynamic-to-Static ErrorMessage] Support dy2stat error message when call... · 9881738e
      liym27 提交于
      [Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message (#28713)
      
      * Support dy2stat error message when call jit.save;
      
      * Polish dy2stat error message:
        (1) the original dygraph code is marked with (* user code *) ; 
        (2) "In user code:" -> "In transformed code:"
      9881738e
  11. 11 9月, 2020 1 次提交
  12. 12 8月, 2020 1 次提交
  13. 07 8月, 2020 2 次提交
    • L
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error... · 168ea223
      liym27 提交于
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime.  (#25970)
      
      * don't remove op_callstack
      
      * [Dy2Stat-ErrorMessage] Optimize error value to improve readability if error raised in run-time. 
        1. update op_callstack with original information;
        2. simplify error value to improve readability if error raised in run-time.
      
      * Fix error in Python3. 
      168ea223
    • L
      [Dy2Stat-ErrorMessage]Enhance original error and create new exception (#25798) · 12bf9d71
      liym27 提交于
      * [Dy2Stat-ErrorMessage]Enhance original error and create new exception. test=develop
      
      * Delete redundant code and change func name to create_and_update_origin_info_map. 
      
      * optimize loop_transformer. 
      
      * fix bug in print_transformer.
      
      * Modify code according to the comments.
      12bf9d71