未验证 提交 83942c3d 编写于 作者: C chengduo 提交者: GitHub

move warning of ParallelExecutor (#17945)

test=develop
上级 dcaf60f0
......@@ -125,12 +125,6 @@ class ParallelExecutor(object):
num_trainers=1,
trainer_id=0,
scope=None):
sys.stderr.write(
'ParallelExecutor is deprecated. '
'Please use CompiledProgram and Executor. CompiledProgram '
'is a central place for optimization and Executor is the '
'unified executor. Example can be found in compiler.py.\n')
if build_strategy is None:
build_strategy = BuildStrategy()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册