提交 009c7cf6 编写于 作者: H heqiaozhi

add finialize

上级 faffc25c
......@@ -18,5 +18,5 @@ from __future__ import print_function
from . import hdfs_utils
from .hdfs_utils import *
__all__ = lookup_table_utils.__all__
#__all__ = lookup_table_utils.__all__
__all__ = hdfs_utils.__all__
......@@ -44,5 +44,8 @@ class MPIHelper(object):
def get_hostname(self):
import socket
return socket.gethostname()
def finalize(self):
MPI.Finalize()
......@@ -97,6 +97,7 @@ class PaddlePSInstance(object):
pass
def finalize(self):
self.dh.finalize()
pass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册