From 7ade97ce16cbfc625b9ca3d62d640bfef0f41e7c Mon Sep 17 00:00:00 2001 From: Zhang Ting Date: Sun, 27 Sep 2020 16:07:47 +0800 Subject: [PATCH] Update __init__.py --- python/paddle/__init__.py | 2 +- python/paddle/device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/__init__.py b/python/paddle/__init__.py index 86fec30cb0..b7e4fe9645 100755 --- a/python/paddle/__init__.py +++ b/python/paddle/__init__.py @@ -257,7 +257,7 @@ from .tensor.stat import numel #DEFINE_ALIAS from .device import get_cudnn_version from .device import set_device from .device import get_device -from .device import is_compiled_with_cuda +from .device import is_compiled_with_cuda #DEFINE_ALIAS from .device import is_compiled_with_xpu from .device import XPUPlace # from .tensor.tensor import Tensor #DEFINE_ALIAS diff --git a/python/paddle/device.py b/python/paddle/device.py index 48f6a4e849..c2f331caa8 100644 --- a/python/paddle/device.py +++ b/python/paddle/device.py @@ -18,7 +18,7 @@ import re from paddle.fluid import core from paddle.fluid import framework from paddle.fluid.dygraph.parallel import ParallelEnv -from paddle.fluid.framework import is_compiled_with_cuda +from paddle.fluid.framework import is_compiled_with_cuda #DEFINE_ALIAS __all__ = [ 'get_cudnn_version', -- GitLab