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

Merge branch 'master' into dataset

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