1. 06 3月, 2020 1 次提交
    • H
      Fix NameVisitor bugs (#22847) · 0d463d3b
      Huihuang Zheng 提交于
      1. copy.deepcopy in NameVisitor should be changed to copy.copy to make hash or set work
      2. read_context should be type of gast.Load()/gast.AugLoad(), not gast.Load/gast.AugLoad
      0d463d3b
  2. 05 3月, 2020 2 次提交
  3. 04 3月, 2020 3 次提交
  4. 03 3月, 2020 6 次提交
  5. 02 3月, 2020 7 次提交
  6. 01 3月, 2020 2 次提交
  7. 28 2月, 2020 5 次提交
  8. 27 2月, 2020 3 次提交
  9. 26 2月, 2020 4 次提交
    • S
      support control flow cond in dygraph mode (#22693) · b813c948
      songyouwei 提交于
      * dygraph support cond op
      test=develop
      
      * unittest coverage
      test=develop
      
      * fix coverage
      test=develop
      
      * fix for coverage
      test=develop
      
      * refine TypeError msg
      test=develop
      
      * remove restrict
      test=develop
      b813c948
    • L
      support cond in clone, test=develop (#22657) · b2c1be85
      Leo Chen 提交于
      * support cond in clone, test=develop
      
      * refine code, test=develop
      
      * refine code, test=develop
      
      * follow comments, test=develop
      
      * refine code, test=develop
      b2c1be85
    • Z
    • 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
  10. 25 2月, 2020 6 次提交
  11. 24 2月, 2020 1 次提交
    • S
      add partial_sum op in contrib (#22292) · 3132681e
      ShenLiang 提交于
      * add partial_sum_op, test=develop
      
      * modify the Paddle Error Message, test=develop
      
      * modify the Paddle Error Message, test=develop
      
      * modify the bug for python3, test=develop
      
      * modify the ut for ci, test=develop
      
      * mv to contrib, test=develop
      
      * use check_variable_and_dtype, test=develop
      
      * fix ci, test=develop
      
      * fix conflict, test=dvelop
      
      * add partial concat, test=develop
      
      * fix the conflict, test=develop
      
      * fix the error, test=develop
      
      * rm SSE4, test=develop
      3132681e