diff --git a/paddle/fluid/framework/executor.h b/paddle/fluid/framework/executor.h index 3e78572334dc730109676744841fe50f306496d8..214ca3dc492c31d4c683790a6ae051be467401c9 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 *