1. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  2. 10 8月, 2022 1 次提交
    • N
      [CodeStyle] use np.testing.assert_array_equal instead of... · 93c5c887
      Nyakku Shigure 提交于
      [CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947)
      
      * automatically fix
      
      * update comments
      
      * numpy -> np
      
      * self.assertEqual(..., True)
      
      * wrong usage (err_msg=True)
      
      这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)`
      的错误用法,因此在修复后将其认为位置参数 `err_msg`
      
      * some missing fix
      93c5c887
  3. 16 6月, 2022 1 次提交
  4. 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
  5. 04 6月, 2022 1 次提交
  6. 30 5月, 2022 1 次提交
  7. 18 5月, 2022 1 次提交
  8. 13 5月, 2022 1 次提交
  9. 12 5月, 2022 1 次提交
  10. 11 5月, 2022 2 次提交
    • F
      [New API] add API paddle.vision.transforms.RandomPerspective and... · 754820fe
      Feng Ni 提交于
      [New API] add API paddle.vision.transforms.RandomPerspective and paddle.vision.transforms.perspective (#42390)
      
      * add RandomPerspective and perspective
      
      * fix UT, clean codes
      
      * fix UT
      
      * add batch transform
      
      * remove batch in tensor func
      
      * fix typos and coments, test=develop
      754820fe
    • F
      [New API] add API paddle.vision.transforms.RandomAffine and... · cbb8df78
      Feng Ni 提交于
      [New API] add API paddle.vision.transforms.RandomAffine and paddle.vision.transforms.affine (#42278)
      
      * add affine codes
      
      * adjustment codes
      
      * fix test case
      
      * fix F_cv2.affine
      
      * clean codes, add UT
      
      * fix UT
      
      * fix UT
      
      * fix UT shear
      
      * add functional test_errors
      
      * fix typos and coments, test=develop
      cbb8df78
  11. 05 5月, 2022 1 次提交
  12. 29 4月, 2022 1 次提交
  13. 25 4月, 2022 1 次提交
  14. 05 4月, 2022 1 次提交
    • W
      [Eager] dataloader2 (#41338) · 3b0e911c
      wanghuancoder 提交于
      * eager math op, test=develop
      
      * eager support lookahead, test=develop
      
      * refine,test=develop
      
      * refine doc, test=develop
      
      * refine,test =develop
      
      * refie, test=develop
      
      * refie, test=develop
      
      * refie, test=develop
      
      * test_paddle_multiprocessing
      
      * refine, test=develop
      
      * refine, test=develop
      
      * fix bug, test=develop
      
      * refine, test=develop
      
      * dataloader, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * test_datasets timeout, test=develop
      
      * refine, test=develop
      3b0e911c
  15. 03 4月, 2022 1 次提交
  16. 02 4月, 2022 1 次提交
    • J
      Fix ci problem2 (#41263) · a9d66025
      Jiabin Yang 提交于
      * support test_create_paramter
      
      * support fused_transformer_encoder_layer
      
      * skip program_desc tracer related tests in eager mode
      
      * fix ci tests on eager
      a9d66025
  17. 01 4月, 2022 1 次提交
    • W
      [Eager] Support pinned (#41035) · f3270fc8
      wanghuancoder 提交于
      * support pinned, test=develop
      
      * support async_write, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine,test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      f3270fc8
  18. 30 3月, 2022 1 次提交
    • W
      [Eager] dlpack (#40811) · 4d300224
      wanghuancoder 提交于
      * dlpack eager, test=develop
      
      * eager test_base_layer, test=develop
      
      * fix error report, test=develop
      
      * eager _getitem_from_offset, test=develop
      
      * refine, test=develop
      
      * refine offset, test=develop
      
      * add test_inner test_outer, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      4d300224
  19. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  20. 09 3月, 2022 1 次提交
  21. 21 2月, 2022 1 次提交
  22. 15 2月, 2022 1 次提交
  23. 19 1月, 2022 1 次提交
    • Y
      Fix paddle.flops AttributeError (#38850) · ae1e71b3
      yingyibiao 提交于
      * Fix AttributeError when output y is a tuple which has no attribute 'shape'
      
      * Add unit test for dynamic_flops with multiple outputs
      
      * Add unit test for dynamic_flops with multiple outputs
      ae1e71b3
  24. 23 11月, 2021 1 次提交
  25. 18 11月, 2021 1 次提交
  26. 17 11月, 2021 1 次提交
  27. 11 11月, 2021 1 次提交
  28. 04 11月, 2021 1 次提交
  29. 03 11月, 2021 1 次提交
  30. 02 11月, 2021 1 次提交
  31. 01 11月, 2021 1 次提交
  32. 27 10月, 2021 1 次提交
  33. 22 10月, 2021 2 次提交
  34. 18 10月, 2021 1 次提交
    • S
      Add operators for async read & async write (#36333) · 3845afff
      Siming Dai 提交于
      * fix async_read bug
      
      * change index place to cpu
      
      * add tensor size judge
      
      * add async_read & async_write test
      
      * fix bug in async_write
      
      * fix mac py3 ci
      
      * fix bug for cpu version paddle
      
      * fix windows ci bug
      
      * change input argument error type
      
      * change const_cast to mutable_data
      
      * add async_write out-of-bound check and consumate error hint
      
      * fix a small bug for dst_tensor
      
      * add docs and refine codes
      
      * refine docs
      
      * notest,test=windows_ci
      
      * fix windows ci
      
      * fix require
      
      * fix code-block
      
      * add core.is_compiled_with_cuda()
      3845afff
  35. 15 10月, 2021 1 次提交
  36. 13 10月, 2021 1 次提交
  37. 28 9月, 2021 2 次提交