Skip to content

Commit 55136bf

Browse files
authored
【UnitTestFix No.20】fix test_pyramid_hash_op.py (PaddlePaddle#75289)
1 parent 3251050 commit 55136bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/legacy_test/test_pyramid_hash_op.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
class TestPyramidHashOpApi(unittest.TestCase):
2525
def test_api(self):
26+
paddle.enable_static()
2627
num_voc = 128
2728
embed_dim = 64
2829
x_shape, x_lod = [16, 10], [[3, 5, 2, 6]]

0 commit comments

Comments
 (0)