1. 07 9月, 2022 1 次提交
  2. 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
  3. 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
  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. 05 4月, 2022 1 次提交
  6. 10 2月, 2022 1 次提交
  7. 03 9月, 2020 1 次提交
    • L
      refine paddle.stack (#26886) · 1275659c
      Leo Chen 提交于
      * refine paddle.stack
      
      * support TensorArray
      
      * add test
      
      * fix coverage problem
      
      * fix coverage problem
      
      * fix sample code
      1275659c
  8. 23 4月, 2020 1 次提交
    • Q
      add gather split squeeze stack unsqueeze api (#24035) · 13b03e7a
      Qinghe JING 提交于
      * add gather split squeeze stack unsqueeze api test=develop
      
      * add gather split squeeze stack unsqueeze api test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      13b03e7a
  9. 13 3月, 2020 1 次提交
  10. 20 12月, 2019 1 次提交