1. 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
  2. 03 8月, 2022 1 次提交
  3. 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
  4. 13 9月, 2021 1 次提交
  5. 01 9月, 2021 1 次提交
  6. 24 6月, 2021 1 次提交
  7. 16 6月, 2021 1 次提交
  8. 02 6月, 2021 1 次提交
  9. 27 4月, 2021 1 次提交
  10. 14 4月, 2021 1 次提交
  11. 01 12月, 2020 1 次提交
  12. 30 10月, 2020 1 次提交
  13. 23 9月, 2020 1 次提交
  14. 10 9月, 2020 1 次提交
  15. 24 8月, 2020 1 次提交
  16. 21 8月, 2020 1 次提交
  17. 12 6月, 2020 1 次提交
  18. 09 6月, 2020 1 次提交
  19. 13 5月, 2020 1 次提交
  20. 19 3月, 2020 1 次提交
  21. 24 12月, 2019 1 次提交
  22. 23 12月, 2019 1 次提交
  23. 20 12月, 2019 1 次提交
  24. 18 12月, 2019 1 次提交
  25. 16 12月, 2019 1 次提交
  26. 11 12月, 2019 1 次提交
  27. 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
  28. 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
  29. 26 9月, 2019 1 次提交
  30. 18 9月, 2019 1 次提交
  31. 11 9月, 2019 1 次提交
  32. 30 5月, 2019 1 次提交
  33. 21 3月, 2019 1 次提交
  34. 15 8月, 2018 1 次提交
  35. 26 7月, 2018 1 次提交
  36. 16 7月, 2018 1 次提交
  37. 02 5月, 2018 1 次提交
  38. 28 2月, 2018 1 次提交
  39. 24 2月, 2018 1 次提交