From eff84a585bb38051cf468c9ae4cf6adbda044dde Mon Sep 17 00:00:00 2001 From: Wenyu Date: Wed, 12 May 2021 19:44:34 +0800 Subject: [PATCH] Fix error in device `__all__` (#32860) --- python/paddle/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/device.py b/python/paddle/device.py index 035d240e713..803d54e11be 100644 --- a/python/paddle/device.py +++ b/python/paddle/device.py @@ -25,7 +25,7 @@ __all__ = [ 'set_device', 'get_device', 'XPUPlace', - 'is_compiled_with_xpu' + 'is_compiled_with_xpu', # 'cpu_places', # 'CPUPlace', # 'cuda_pinned_places', -- GitLab