1. 31 1月, 2023 1 次提交
  2. 29 11月, 2022 1 次提交
  3. 23 10月, 2022 1 次提交
  4. 11 10月, 2022 1 次提交
  5. 27 9月, 2022 1 次提交
  6. 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
  7. 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
  8. 03 4月, 2022 1 次提交
  9. 21 5月, 2020 1 次提交
  10. 24 4月, 2020 1 次提交
  11. 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
  12. 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