1. 09 6月, 2020 2 次提交
  2. 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
  3. 04 6月, 2020 2 次提交
  4. 03 6月, 2020 4 次提交
  5. 28 5月, 2020 2 次提交
  6. 27 5月, 2020 1 次提交
  7. 26 5月, 2020 2 次提交
  8. 25 5月, 2020 2 次提交
  9. 21 5月, 2020 1 次提交
  10. 19 5月, 2020 1 次提交
  11. 18 5月, 2020 2 次提交
  12. 15 5月, 2020 1 次提交
  13. 14 5月, 2020 1 次提交
  14. 13 5月, 2020 1 次提交
  15. 09 5月, 2020 2 次提交
  16. 08 5月, 2020 1 次提交
  17. 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
  18. 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
  19. 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
  20. 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
  21. 20 4月, 2020 1 次提交
  22. 19 4月, 2020 2 次提交
  23. 18 4月, 2020 1 次提交
  24. 17 4月, 2020 1 次提交
  25. 13 4月, 2020 1 次提交
  26. 11 4月, 2020 1 次提交
  27. 10 4月, 2020 2 次提交