1. 26 3月, 2020 5 次提交
  2. 25 3月, 2020 3 次提交
  3. 24 3月, 2020 2 次提交
  4. 23 3月, 2020 1 次提交
  5. 20 3月, 2020 2 次提交
  6. 19 3月, 2020 4 次提交
  7. 18 3月, 2020 2 次提交
  8. 17 3月, 2020 1 次提交
  9. 14 3月, 2020 1 次提交
  10. 12 3月, 2020 2 次提交
  11. 11 3月, 2020 2 次提交
  12. 10 3月, 2020 1 次提交
  13. 09 3月, 2020 1 次提交
  14. 07 3月, 2020 1 次提交
  15. 06 3月, 2020 2 次提交
  16. 05 3月, 2020 1 次提交
  17. 04 3月, 2020 2 次提交
  18. 03 3月, 2020 1 次提交
    • S
      Add functional dygraph mode api (#22745) · df87e79f
      songyouwei 提交于
      * functional dygraph enable/disable
      test=develop
      
      * use context manager instead
      test=develop
      
      * refine sample code
      test=develop
      
      * rename api & expose to fluid
      test=develop
      
      * fix sample code
      test=develop
      df87e79f
  19. 28 2月, 2020 1 次提交
    • L
      fix dygraph_to_static_ouput and add a new decorator. (#22785) · 68a92e46
      liym27 提交于
      * change dygraph_to_static_output to dygraph_to_static_graph. test=develop
      
      * Remove duplicate code. test=develop
      
      * Follow comments from Liujie. test=develop
      
      * change dygraph_to_static_output to dygraph_to_static_graph. test=develop
      68a92e46
  20. 27 2月, 2020 1 次提交
  21. 26 2月, 2020 1 次提交
    • H
      Add Basic Function Return Type Analysis (#22747) · 66991218
      Huihuang Zheng 提交于
      1. Considering functions, I have to change the node type from single value to a set. Because python function is allowed to return different types. The set represent all possible types
      
      2. I added scope_name and scope_type for AstVarScope, because in python functions, variable may have different scope. For example:
      
      ```
      a = 3
      def foo(b):
          a = 9
          return a + b
      ```
      
      the `a` in `foo` is different to the `a` out of `foo`. Similar to class field. The scope_name will help me to know the function name when static analysis finds a `return` sentence.
      66991218
  22. 24 2月, 2020 2 次提交
    • A
      Add IsControlFlowIfVisitor in ast_transformer (#22709) · dab5e5d8
      Aurelius84 提交于
      * add is_control_flow_if  test=develop
      dab5e5d8
    • 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
  23. 23 2月, 2020 1 次提交