1. 05 6月, 2020 1 次提交
    • L
      [Dy2Static] Add convert_ifelse to run the transformed code dynamically (#24866) · a9dca580
      liym27 提交于
      * cast var in convert_logical_XX. 
      
      * Add convert_ifelse function in convert_operators.py  
      
      * Add logical_transformer. Remove LogicalTransformer from loop_transformer.py 
      
      * Revert modified tests in PR24799(convert_while_stmt). 
      
      * Comment and modify code that doesn't support `return` statement. 
      
      * Remove unnecessary class: MergeAssignTransformer, NodeTestTransformer and IfConditionVisitor in ifelse_transformer. 
      a9dca580
  2. 04 6月, 2020 2 次提交
  3. 03 6月, 2020 4 次提交
  4. 28 5月, 2020 2 次提交
  5. 27 5月, 2020 1 次提交
  6. 26 5月, 2020 2 次提交
  7. 25 5月, 2020 2 次提交
  8. 21 5月, 2020 1 次提交
  9. 19 5月, 2020 1 次提交
  10. 18 5月, 2020 2 次提交
  11. 15 5月, 2020 1 次提交
  12. 14 5月, 2020 1 次提交
  13. 13 5月, 2020 1 次提交
  14. 09 5月, 2020 2 次提交
  15. 08 5月, 2020 1 次提交
  16. 06 5月, 2020 1 次提交
    • L
      [Dy2Stat]Support list pop (#24250) · ac9a7eee
      liym27 提交于
      * Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py
      
      * Add comments in ConditionalBlock.
      
      * Support list pop last item. 
      
      * Support pop the i-th item. 
      
      * Support an empty tensor array as Input in assign op and set the kernel type is float.
      ac9a7eee
  17. 30 4月, 2020 1 次提交
    • L
      [Dy2Stat]Support LoDTensorArray for slice op (#23091) · 80355949
      liym27 提交于
      * Support LoDTensorArray for slice op.
      * Support read elements of list in dygraph_to_static
      * Fix infershape add test for infershape.
      * Support Tensor for Attr(starts) and Attr(ends). 
      * Use new interfaces in VarTypeInference. 
      80355949
  18. 27 4月, 2020 1 次提交
    • C
      [dy2static] Add print transformer and unify print format (#24068) · 9b851ba2
      Chen Weihang 提交于
      * add print transformer & unify print format, test=develop
      
      * remove using of dygraph_to_static_func, test=develop
      
      * remove python stdout capture, test=develop
      
      * fix compatibility problems for PY2, test=develop
      
      * fix detail error, test=develop
      
      * fix type analysis bug, test=develop
      
      * fix print tuple compatible error in PY2, test=develop
      
      * replace get_func to declarative, test=develop
      
      * fix detail bug, test=develop
      
      * fix some detail problems, test=develop
      
      * change visit_call in print transformer, test=develop
      9b851ba2
  19. 24 4月, 2020 2 次提交
    • L
      [Dy2Stat] Add test for ptb model. (#24076) · c2bc92de
      liym27 提交于
      * [Dy2Stat] Add test for ptb model. test=develop
      
      * Simplify code for gast.If in is_control_flow_to_transform. test=develop
      
      * Move IsControlFlowVisitor to file utils. test=develop
      
      * Don't use convert_call for build-in func in CallTransformer. test=develop
      
      * Optimize api is_control_flow_to_transform. test=develop
      
      * Polish the document of IsControlFlowVisitor. test=develop
      
      * Use declarative instead of dygraph_to_static_func. test=develop
      c2bc92de
    • L
      [Dy2Stat] Optimize loop cond (#24049) · 2961a4f0
      liym27 提交于
      * Simplify code for gast.If in is_control_flow_to_transform.
      * Move IsControlFlowVisitor to file utils. 
      * Don't use convert_call for build-in func in CallTransformer. 
      * Optimize api is_control_flow_to_transform. 
      * Polish the document of IsControlFlowVisitor.
      2961a4f0
  20. 20 4月, 2020 1 次提交
  21. 19 4月, 2020 2 次提交
  22. 18 4月, 2020 1 次提交
  23. 17 4月, 2020 1 次提交
  24. 13 4月, 2020 1 次提交
  25. 11 4月, 2020 1 次提交
  26. 10 4月, 2020 4 次提交