From 695bfb0765761796245baa805237ae44749535d0 Mon Sep 17 00:00:00 2001 From: Aurelius84 Date: Fri, 4 Sep 2020 14:15:23 +0800 Subject: [PATCH] reduce repeat time of Predictor (#27011) --- .../fluid/tests/unittests/dygraph_to_static/predictor_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/dygraph_to_static/predictor_utils.py b/python/paddle/fluid/tests/unittests/dygraph_to_static/predictor_utils.py index 75bff108dd4..ba0adaf32e1 100644 --- a/python/paddle/fluid/tests/unittests/dygraph_to_static/predictor_utils.py +++ b/python/paddle/fluid/tests/unittests/dygraph_to_static/predictor_utils.py @@ -81,7 +81,7 @@ class PredictorTools(object): tensor.set_lod(feed_data.lod()) # ensure no diff in multiple repeat times - repeat_time = 10 + repeat_time = 2 for i in range(repeat_time): predictor.zero_copy_run() -- GitLab