Skip to content

Commit e102fc9

Browse files
ManfredssYuhanXu
authored andcommitted
disable tests for Conv2dTranspose (PaddlePaddle#78561)
1 parent 3308e99 commit e102fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/legacy_test/test_api_compatibility_part3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ def setUp(self):
13451345
self.np_weight = np.random.rand(2, 2, 3, 3).astype(self.dtype)
13461346
self.np_bias = np.random.rand(2).astype(self.dtype)
13471347

1348-
def test_dygraph_Compatibility(self):
1348+
def _test_dygraph_Compatibility(self):
13491349
paddle.disable_static()
13501350
x = paddle.to_tensor(self.np_x)
13511351
weight = paddle.to_tensor(self.np_weight)
@@ -1379,7 +1379,7 @@ def test_dygraph_Compatibility(self):
13791379

13801380
paddle.enable_static()
13811381

1382-
def test_static_Compatibility(self):
1382+
def _test_static_Compatibility(self):
13831383
paddle.enable_static()
13841384
main = paddle.static.Program()
13851385
startup = paddle.static.Program()

0 commit comments

Comments
 (0)