未验证 提交 5d8c4504 编写于 作者: T Tony Cao 提交者: GitHub

[CodeStyle][F601] Remove repeated keys and only keep the last (#46719)

* Update README.md

* Update README.md

* Fix F601: only keep the last key among the same names
上级 c11a92c7
...@@ -50,12 +50,6 @@ with section("parse"): ...@@ -50,12 +50,6 @@ with section("parse"):
"DEPS": '*', "DEPS": '*',
} }
}, },
"hip_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"xpu_library": { "xpu_library": {
"kwargs": { "kwargs": {
"SRCS": '*', "SRCS": '*',
...@@ -68,12 +62,6 @@ with section("parse"): ...@@ -68,12 +62,6 @@ with section("parse"):
"DEPS": '*', "DEPS": '*',
} }
}, },
"hip_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"go_library": { "go_library": {
"kwargs": { "kwargs": {
"SRCS": '*', "SRCS": '*',
......
...@@ -57,7 +57,6 @@ class TestIpuStrategy(unittest.TestCase): ...@@ -57,7 +57,6 @@ class TestIpuStrategy(unittest.TestCase):
options = { options = {
'cache_path': 'paddle_cache', 'cache_path': 'paddle_cache',
'log_dir': 'paddle_log', 'log_dir': 'paddle_log',
'partials_type_matmuls': 'half',
'partials_type_matmuls': 'float', 'partials_type_matmuls': 'float',
} }
ipu_strategy.set_options(options) ipu_strategy.set_options(options)
......
...@@ -289,7 +289,6 @@ class XPUTestPool2D_Op(XPUOpTestWrapper): ...@@ -289,7 +289,6 @@ class XPUTestPool2D_Op(XPUOpTestWrapper):
'global_pooling': self.global_pool, 'global_pooling': self.global_pool,
'use_cudnn': self.use_cudnn, 'use_cudnn': self.use_cudnn,
'use_mkldnn': self.use_mkldnn, 'use_mkldnn': self.use_mkldnn,
'ceil_mode': self.ceil_mode,
'data_format': self.data_format, 'data_format': self.data_format,
'exclusive': self.exclusive, 'exclusive': self.exclusive,
'adaptive': self.adaptive, 'adaptive': self.adaptive,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册