From d1203e3822c1cb0a0e555e61a01a825108c7b354 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Wed, 20 Jun 2018 15:21:25 +0800 Subject: [PATCH] Add types --- python/paddle/fluid/trainer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/paddle/fluid/trainer.py b/python/paddle/fluid/trainer.py index 23df4b49302..45ab889beaa 100644 --- a/python/paddle/fluid/trainer.py +++ b/python/paddle/fluid/trainer.py @@ -417,9 +417,9 @@ class Trainer(object): Test the model on given test data Args: - reader: The reader that yields test data. - feed_order: Feeding order of reader. None will following the defining - order in program + reader(callable): The reader that yields test data. + feed_order(list): Feeding order of reader. None will following the + defining order in program """ return self._test_by_executor(reader, feed_order, -- GitLab