1. 24 6月, 2020 1 次提交
  2. 19 6月, 2020 2 次提交
  3. 18 6月, 2020 1 次提交
  4. 17 6月, 2020 1 次提交
  5. 11 6月, 2020 1 次提交
    • L
      [Dy2Static]Convert var.shape stmt and Convert the return variables of... · f16e2778
      liym27 提交于
      [Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not  (#24911)
      
      * Support int and long: int or long -> six.integer_types. 
      
      * Modify test_tensor_shape: fix bug and modify comment. 
      
      * Support convert_var_shape to convert var.shape stmt
      
      * Modify code in ifelse_simple_func.py because don't support return non-Tensor in Tensor-dependent 'if' stament currently. 
      
      * Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not. test=develop
      f16e2778
  6. 09 6月, 2020 1 次提交
  7. 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
  8. 03 6月, 2020 3 次提交
  9. 02 6月, 2020 1 次提交
  10. 28 5月, 2020 2 次提交
  11. 27 5月, 2020 1 次提交
  12. 26 5月, 2020 2 次提交
  13. 21 5月, 2020 1 次提交
  14. 19 5月, 2020 3 次提交
  15. 18 5月, 2020 1 次提交
    • C
      [Dy2static] Add for enumerate Variable support (#24398) · 03ba5b74
      Chen Weihang 提交于
      * initial test
      
      * for enumerate basic implement, test=develop
      
      * update unittests, test=develop
      
      * refine unittests to adapt new training mode, test=develop
      
      * refactor for node stmts parsing code, test=develop
      
      * self-review & polish details, test=develop
      03ba5b74
  16. 15 5月, 2020 3 次提交
  17. 14 5月, 2020 1 次提交
  18. 13 5月, 2020 1 次提交
  19. 12 5月, 2020 1 次提交
  20. 09 5月, 2020 2 次提交
  21. 08 5月, 2020 1 次提交
  22. 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
  23. 30 4月, 2020 1 次提交
  24. 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
  25. 24 4月, 2020 1 次提交
    • 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
  26. 20 4月, 2020 1 次提交
  27. 19 4月, 2020 2 次提交
  28. 18 4月, 2020 1 次提交
  29. 17 4月, 2020 1 次提交