diff --git a/tools/eval.py b/tools/eval.py index 7285ed4ed5b9f9ea56f735a90241e7281e4a1662..6b54f87a90b3bcf37a047f0098f8395b907b3078 100644 --- a/tools/eval.py +++ b/tools/eval.py @@ -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