未验证 提交 db514025 编写于 作者: D Dong Daxiang 提交者: GitHub

Merge branch 'master' into dataset

...@@ -2,3 +2,4 @@ sphinx==2.1.0 ...@@ -2,3 +2,4 @@ sphinx==2.1.0
mistune mistune
sphinx_rtd_theme sphinx_rtd_theme
paddlepaddle>=1.6 paddlepaddle>=1.6
zmq
...@@ -42,9 +42,9 @@ try: ...@@ -42,9 +42,9 @@ try:
from ssl import RAND_bytes from ssl import RAND_bytes
rng = RAND_bytes rng = RAND_bytes
except(AttributeError, ImportError): except(AttributeError, ImportError):
raise RNGError #python2
#python2 rng = os.urandom
#rng = os.urandom #raise RNGError
class DiffieHellman: class DiffieHellman:
""" """
......
...@@ -16,7 +16,7 @@ import logging ...@@ -16,7 +16,7 @@ import logging
from paddle_fl.core.scheduler.agent_master import FLWorkerAgent from paddle_fl.core.scheduler.agent_master import FLWorkerAgent
import numpy import numpy
import hmac import hmac
#from .diffiehellman.diffiehellman import DiffieHellman from .diffiehellman.diffiehellman import DiffieHellman
class FLTrainerFactory(object): class FLTrainerFactory(object):
def __init__(self): def __init__(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册