• 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_complex_view_op.py 4.4 KB