未验证 提交 6525296e 编写于 作者: Q QingshuChen 提交者: GitHub

add fluid prefix for CPUPlace (#1959)

上级 b5866291
......@@ -69,7 +69,7 @@ def main():
elif use_xpu:
place = fluid.XPUPlace(0)
else:
place = CPUPlace()
place = fluid.CPUPlace()
exe = fluid.Executor(place)
# build program
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册