def close(self):
    '\n        Close this executor.\n\n        You can no longer use this executor after calling this method.\n        For the distributed training, this method would free the resource\n        on PServers related to the current Trainer.\n\n        Examples:\n            .. code-block:: python\n\n              import paddle.fluid as fluid\n\n              cpu = fluid.CPUPlace()\n              exe = fluid.Executor(cpu)\n              # execute training or testing\n              exe.close()\n        '
    if (not self._closed):
        self._default_executor.close()
        self._closed = True
Close this executor.

You can no longer use this executor after calling this method.
For the distributed training, this method would free the resource
on PServers related to the current Trainer.

Examples:
    .. code-block:: python

      import paddle.fluid as fluid

      cpu = fluid.CPUPlace()
      exe = fluid.Executor(cpu)
      # execute training or testing
      exe.close()
def close(self):
    '\n        Close this executor.\n\n        You can no longer use this executor after calling this method.\n        For the distributed training, this method would free the resource\n        on PServers related to the current Trainer.\n\n        Examples:\n            .. code-block:: python\n\n              import paddle.fluid as fluid\n\n              cpu = fluid.CPUPlace()\n              exe = fluid.Executor(cpu)\n              # execute training or testing\n              exe.close()\n        '
    if (not self._closed):
        self._default_executor.close()
        self._closed = True