1. 09 9月, 2022 1 次提交
    • X
      [ Dy2Static ] convert_call support staticmethod for class. (#44983) · d0096eaf
      xiongkun 提交于
      * convert_call support staticmethod for class.
      
      * while support for python container.
      It is convenient to convert more dynamic graph codes into static graphs.
      
      * cond support python container
      
      * add unittest for staticmethod convert_call
      
      * fix bugs
      
      * add unittest for item interface
      
      * fix bugs
      
      * change to np.testing.assert_allclose
      
      * code format
      
      * fix comments.
      
      * code format
      d0096eaf
  2. 06 9月, 2022 1 次提交
  3. 02 9月, 2022 1 次提交
    • X
      [ Dy2Static ] transfer list into tensor array at runtime. (#45594) · 3be7f495
      xiongkun 提交于
      * 1. make list transformer into jit form.
      2. fix some bugs in tensor_array, such as append.
      3. enhance the function analysis visitor to recognize push/pop.
      4. add setter/getter helper to deal with 2+ name sets.
      
      * fix ci errors:
      1. add to_tensor_array logic in convert_cond
      2. fix IfExpr error.
      3. fix erros while return_names or push_pop_names is None
      4. fix slice error in a[i]=1 where a is tensor_array
      5. add pop interface in Variable
      3be7f495
  4. 03 8月, 2022 1 次提交
  5. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  6. 13 9月, 2021 1 次提交
  7. 01 9月, 2021 1 次提交
  8. 24 6月, 2021 1 次提交
  9. 16 6月, 2021 1 次提交
  10. 02 6月, 2021 1 次提交
  11. 27 4月, 2021 1 次提交
  12. 14 4月, 2021 1 次提交
  13. 01 12月, 2020 1 次提交
  14. 30 10月, 2020 1 次提交
  15. 23 9月, 2020 1 次提交
  16. 10 9月, 2020 1 次提交
  17. 24 8月, 2020 1 次提交
  18. 21 8月, 2020 1 次提交
  19. 12 6月, 2020 1 次提交
  20. 09 6月, 2020 1 次提交
  21. 13 5月, 2020 1 次提交
  22. 19 3月, 2020 1 次提交
  23. 24 12月, 2019 1 次提交
  24. 23 12月, 2019 1 次提交
  25. 20 12月, 2019 1 次提交
  26. 18 12月, 2019 1 次提交
  27. 16 12月, 2019 1 次提交
  28. 11 12月, 2019 1 次提交
  29. 05 12月, 2019 2 次提交
    • D
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  30. 10 10月, 2019 1 次提交
    • J
      Refine en doc (#20317) · b23f00a0
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, refine en_doc for Variable and Program
      
      * test=document_fix, fix English doc for Variable and Program
      
      * test=document_fix, refine astype code block style
      
      * test=document_fix, add example code for Variable properties
      b23f00a0
  31. 26 9月, 2019 1 次提交
  32. 18 9月, 2019 1 次提交
  33. 11 9月, 2019 1 次提交
  34. 30 5月, 2019 1 次提交
  35. 21 3月, 2019 1 次提交
  36. 15 8月, 2018 1 次提交
  37. 26 7月, 2018 1 次提交
  38. 16 7月, 2018 1 次提交
  39. 02 5月, 2018 1 次提交