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. 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
  3. 03 4月, 2022 1 次提交
  4. 31 5月, 2021 1 次提交
  5. 06 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22065) · 85ba5275
      zhupengyang 提交于
      affine_channel, affine_grid, bilinear_interp, bilinear_tensor_product,
      clip, crop, crop_tensor, cumsum, data_norm, expand, expand_as
      85ba5275
  6. 26 12月, 2019 1 次提交
  7. 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
  8. 19 12月, 2019 1 次提交
  9. 04 12月, 2019 1 次提交
  10. 26 11月, 2019 1 次提交
  11. 21 10月, 2019 1 次提交
  12. 23 9月, 2019 1 次提交
  13. 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
  14. 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
  15. 21 6月, 2019 1 次提交
  16. 26 4月, 2019 1 次提交
  17. 26 3月, 2019 1 次提交
  18. 25 3月, 2019 1 次提交
  19. 30 1月, 2019 1 次提交
  20. 29 1月, 2019 1 次提交
  21. 24 1月, 2019 1 次提交
  22. 23 1月, 2019 1 次提交
  23. 27 11月, 2018 1 次提交
  24. 07 11月, 2018 1 次提交
  25. 06 11月, 2018 1 次提交
  26. 05 11月, 2018 1 次提交