1. 29 3月, 2023 1 次提交
  2. 25 3月, 2023 1 次提交
  3. 16 2月, 2023 1 次提交
  4. 05 12月, 2022 1 次提交
  5. 29 11月, 2022 1 次提交
  6. 23 10月, 2022 1 次提交
  7. 27 9月, 2022 1 次提交
  8. 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
  9. 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
  10. 03 4月, 2022 1 次提交
  11. 21 5月, 2020 1 次提交
  12. 20 4月, 2020 1 次提交
    • L
      add diag_embed op (#23385) · 87d8dc3d
      Li Fuchen 提交于
      * add diag_embed op, test=develop
      
      * add TestCase of diag_embed API
      
      * Modified diag embed python API teastcase from dygraph to static graph, test=develop
      
      * delete useless log and trigger ci, test=develop
      
      * modified float16 of diag_embed, test=develop
      
      * modified en doc of diag_embed
      
      * trigger ci, test=develop
      
      * add fp16 in dtype check of python API, test=develop
      
      * modified __init__ and fix a big, test=develop
      
      * modified a test bug of test_bicubic_interp_op and test_trilinear_interp_op, test=develop
      
      * modified to use one kernel on cpu and cuda, test=develop
      87d8dc3d
  13. 14 4月, 2020 1 次提交
    • X
      Add `nn.interpolate ` (#23434) · 7de0a25b
      xiaoting 提交于
      * add nn.interpolate, test=develop
      
      * fix interpolate typo, test=develop
      
      * formate code, test=develop
      
      * fix unitest, test=develop
      
      * add test layers, test=develop
      
      * add test layers, test=develop
      
      * extract common function, test=develop
      
      * reduce the threads for cuda10, test=develop
      
      * update unitest, test=develop
      
      * polish unitest, test=develop
      
      * add dygraph test, test=develop
      
      * format description, test=develop
      
      * add 5D input check, test=develop
      
      * fix doc, test=develop
      7de0a25b
  14. 26 12月, 2019 1 次提交
  15. 24 12月, 2019 1 次提交
    • J
      Modify op test (#21835) · feabed13
      juncaipeng 提交于
      * remove return in op_test teardown, test=develop
      * add check_grad for fp64 and other type
      * update white list
      feabed13
  16. 02 12月, 2019 1 次提交
  17. 26 11月, 2019 1 次提交
  18. 21 10月, 2019 1 次提交
  19. 10 10月, 2019 1 次提交
  20. 23 9月, 2019 1 次提交
  21. 20 9月, 2019 1 次提交
    • Z
      modified interpolate op to support tensor attribute, test=develop, test=document_preview (#19287) · 439d95e1
      Zhang Ting 提交于
      modified interpolate_op to support tensor attribute
      
      1. the parameter out_shape of image_resize、resize_nearest/bilinear/trilinear can be a list or a 1-D tensor variable. If a list, each element can be an integer or a tensor variable with shape: [1].
      
      2. the parameter scale of above Ops can be a 1-D tensor variable.
      modified document of image_resize, resize_nearest, resize_bilinear, resize_trilinear and add some code example.
      439d95e1
  22. 09 8月, 2019 1 次提交
    • K
      Add trilinear_interp OP (#18711) · f86fead6
      Kaipeng Deng 提交于
      * add trilinear interp. test=develop
      
      * fix unittest. test=develop
      
      * add python api and test_layers. test=develop
      
      * refine API.spec. test=develop
      
      * fix format. test=develop
      
      * add python API test. test=develop
      
      * format code. test=develop
      
      * refine code strcuture. test=develop
      
      * fix format
      
      * fix doc. test=develop
      
      * fix converage. test=develop
      
      * fix format. test=develop
      f86fead6