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