diff --git a/paddle/fluid/framework/executor.h b/paddle/fluid/framework/executor.h index 3e78572334..214ca3dc49 100644 --- a/paddle/fluid/framework/executor.h +++ b/paddle/fluid/framework/executor.h @@ -44,14 +44,12 @@ class Executor { explicit Executor(const platform::Place& place); -#ifdef PADDLE_WITH_DISTRIBUTE /* - * Sending signal to pserver to mark current trainer completed. + * Close this Executor. + * Calling this method will send complete messages to all pserver instances. */ void Close(); -#endif - /* @Brief * Runtime evaluation of the given ProgramDesc under certain Scope *