diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index 5ae1403f632b650d0b5166af31ae49d75bf7cf3a..447d6457e0a3cd7451f654905931052d3217c1e9 100644 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -622,7 +622,9 @@ class Executor(object): is CPU version, the default device would be set to `CPUPlace()` . If Paddle is GPU version, the default device would be set to `CUDAPlace(0)` . Default is None. If ``place`` is string, it can be ``cpu``, and ``gpu:x``, where ``x`` - is the index of the GPUs. + is the index of the GPUs. Note: users only pass one Place or None to initialize + Executor when using multiple-cards. Other APIs will override the cards. See + `document for multiple-cards `_ Returns: Executor