“84eb98dfbc6cfc10a245d459666b7fe81f013219”上不存在“demo/auto_compression/tensorflow_mobilenet/run.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_eager_run_program.py 4.1 KB