“28b43111a437a89f9a698b1d903dfe27dcdd71ba”上不存在“paddle/git@gitcode.net:Crayonxin2000/Paddle.git”
  • 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
test_log_softmax.py 6.1 KB