提交 ed3228b7 编写于 作者: C chengduo 提交者: XiaoguangHu

move warning of ParallelExecutor (#17945) (#17967)

test=release/1.5
上级 3559e5a3
......@@ -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.
先完成此消息的编辑!
想要评论请 注册