未验证 提交 40dd563d 编写于 作者: H Huihuang Zheng 提交者: GitHub

Decrease test_parallel_executor_crf CI time, test=develop (#27212)

Decrease the number of running iterations to reduce CI time.

CI system shows it decreased the unittest time from about 90 seconds to about 30 seconds
上级 cc3306f7
...@@ -176,7 +176,7 @@ class TestCRFModel(unittest.TestCase): ...@@ -176,7 +176,7 @@ class TestCRFModel(unittest.TestCase):
place=fluid.CPUPlace()) place=fluid.CPUPlace())
data = train_data() data = train_data()
for i in range(10): for i in range(4):
cur_batch = next(data) cur_batch = next(data)
print(exe.run(train_cp, print(exe.run(train_cp,
feed=feeder.feed(cur_batch), feed=feeder.feed(cur_batch),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册