未验证 提交 695bfb07 编写于 作者: A Aurelius84 提交者: GitHub

reduce repeat time of Predictor (#27011)

上级 54427b80
...@@ -81,7 +81,7 @@ class PredictorTools(object): ...@@ -81,7 +81,7 @@ class PredictorTools(object):
tensor.set_lod(feed_data.lod()) tensor.set_lod(feed_data.lod())
# ensure no diff in multiple repeat times # ensure no diff in multiple repeat times
repeat_time = 10 repeat_time = 2
for i in range(repeat_time): for i in range(repeat_time):
predictor.zero_copy_run() predictor.zero_copy_run()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册