“3959023099f25c590ec72f701976c7b4e1233174”上不存在“python/paddle/fluid/tests/unittests/test_registry.py”
  • 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_squeeze_op.py 7.1 KB