1. 02 3月, 2020 3 次提交
    • C
      Speed up dygraph DataLoader based on shared memory and LoDTensor serialization (#22541) · 7d8d5734
      Chen Weihang 提交于
      * add lodtensor share memory & serialization, test=develop
      
      * fix windows compile error, test=develop
      
      * deal vartype pickle & fix unittest matching error message, test=develop
      
      * update timeout variable name, test=develop
      
      * refactor memory map implement, test=develop
      
      * clear mmap file discripter when exit unexpectedly, test=develop
      
      * remove the child process fd in advance, test=develop
      
      * remove mmap fds after Queue.put in child process, test=develop
      
      * add hard unittests for register exit func, test=develop
      
      * fix python2 compatibility problem in unittest, test=develop
      
      * fix exception unittest error, test=develop
      
      * polish code based review comment, test=develop
      7d8d5734
    • H
      support customized download command in dataset (#22782) · 53a2b68f
      hutuxian 提交于
      * user can call dataset.set_download_cmd to set its customized download cmd
      * add UT to cover this scenario
      53a2b68f
    • L
      test ResNet decorated by dygraph_to_static_output in static mode. (#22779) · 1a2baa18
      liym27 提交于
      * test ResNet decorated by dygraph_to_static_output in static mode. test=develop
      
      * Follow comments and change dygraph_to_static_output to dygraph_to_static_graph.test=develop
      1a2baa18
  2. 01 3月, 2020 2 次提交
  3. 28 2月, 2020 5 次提交
  4. 27 2月, 2020 3 次提交
  5. 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
  6. 25 2月, 2020 6 次提交
  7. 24 2月, 2020 7 次提交
  8. 23 2月, 2020 1 次提交
  9. 22 2月, 2020 1 次提交
  10. 21 2月, 2020 3 次提交
  11. 20 2月, 2020 3 次提交
    • A
      Support if/else in dygraph_to_static (#22540) · 08b09f64
      Aurelius84 提交于
      * support nested if/else
      
      * support to derivate returns the parameter list automatically
      
      * polish tranform function of slice
      
      * fix modify x.numpy()[i] slice function
      
      * support to transform ast.node into callable function
      
      * fix get_name_ids bug and add more unittest test=develop
      
      * fix requirements.txt test=develop
      
      * remove useless import statement test=develop
      
      * Fixed version compatibility issues in param of function test=develop
      
      * use decorater to test ast_to_func test=develop
      
      * add textwrap.dedent for source_code test=develop
      
      * polish code comment
      
      * fix compatibility with python2 and python3 test=develop
      
      * fix gast version error test=develop
      
      * fix gast repo test=develop
      
      * polish transfer_from_node_type code test=develop
      
      * add nested_if_else unittest test=develop
      
      * split IfElseTransformer test=develop
      
      * specify gast version test=develop
      
      * fix ast_to_func root type test=develop
      08b09f64
    • W
      add fuse_group python unitest (#22532) · 7a4c29e0
      wangchaochaohu 提交于
      * add fuse_group python unintest
      7a4c29e0
    • H
      Add Basic Node Var Type Analysis (#22603) · 14672a63
      Huihuang Zheng 提交于
      1. Move AstNodeWrapper, StaticAnalysisVisitor to a new python file: static_analysis.py
      2. Add basic node var type analysis
      14672a63
  12. 19 2月, 2020 2 次提交