“cde6241a1bc1c4c42d3991d5a394f7f1398c702d”上不存在“python/paddle/fluid/tests/unittests/test_cond_op.py”
  • 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
test_matmul_v2_op.py 21.6 KB