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

add fluid prefix for CPUPlace (#1959)

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