parameters: ()
return_statement: return core.is_compiled_with_xpu()
docstring: Whether paddle was built with WITH_XPU=ON to support Baidu Kunlun
  
      Returns (bool): whether paddle was built with WITH_XPU=ON
  
      Examples:
          .. code-block:: python
  
              import paddle
              support_xpu = paddle.device.is_compiled_with_xpu()
docstring_summary: Whether paddle was built with WITH_XPU=ON to support Baidu Kunlun
docstring_tokens: Whether paddle was built with WITH_XPU = ON to support Baidu Kunlun
function: def is_compiled_with_xpu():
      """
      Whether paddle was built with WITH_XPU=ON to support Baidu Kunlun
  
      Returns (bool): whether paddle was built with WITH_XPU=ON
  
      Examples:
          .. code-block:: python
  
              import paddle
              support_xpu = paddle.device.is_compiled_with_xpu()
      """
      return core.is_compiled_with_xpu()
function_tokens: def is_compiled_with_xpu ( ) : return core . is_compiled_with_xpu ( )