1. 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
  2. 17 4月, 2020 1 次提交
  3. 10 4月, 2020 1 次提交
  4. 04 4月, 2020 1 次提交
  5. 24 3月, 2020 2 次提交
  6. 19 3月, 2020 2 次提交
  7. 17 3月, 2020 1 次提交
  8. 14 3月, 2020 1 次提交
  9. 12 3月, 2020 1 次提交
  10. 11 3月, 2020 2 次提交
  11. 07 3月, 2020 1 次提交
  12. 06 3月, 2020 1 次提交
  13. 27 2月, 2020 1 次提交
  14. 24 2月, 2020 1 次提交
    • L
      support dygraph basic api transformed to static api (#22678) · 68c76793
      liym27 提交于
      * support dygraph to static graph for simple case.
      
      * add test for dygraph API recognition. test=develop
      
      * support basic to_variable api. test=develop
      
      * update dict: dygraph_class_to_static_api
      
      * add all tests of dygraph api. test=develop
      
      * use gast/astor instead of ast/codegen for the compatibility of PY2 and PY3. test=develop
      
      * add arg 'num_flatten_dims' for fc ast node. test=develop
      
      * Modify names of class by Camel-Case.
      68c76793