提交 81b3320f 编写于 作者: L Liu Jie 提交者: Calvin Miao

mlp_utils.py: s/== None/is None/

上级 2d02646c
......@@ -149,7 +149,7 @@ def local_device_setter(num_devices=1,
worker_device='/cpu:0',
ps_ops=None,
ps_strategy=None):
if ps_ops == None:
if ps_ops is None:
ps_ops = ['Variable', 'VariableV2', 'VarHandleOp']
if ps_strategy is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册