o
    #j                     @   sx   d Z dZdZdZdZdZdZdZdZdZ	dZ
dZdZg dZd	d
 Zdd Zdd Zdd Zdd Zdd Zdd ZdS )z2.6.2260FalseTZ(8ce0de584c570589117e403322f3d1a0de6554e5ON)cudacudnnshowxpuxpu_xcclc                   C   sx   t rtdt tdt tdt tdt tdt ntdt tdt tdt	 td	t
 td
t tdt dS )a  Get the version of paddle if `paddle` package if tagged. Otherwise, output the corresponding commit id.

    Returns:
        If paddle package is not tagged, the commit-id of paddle will be output.
        Otherwise, the following information will be output.

        full_version: version of paddle

        major: the major version of paddle

        minor: the minor version of paddle

        patch: the patch level version of paddle

        rc: whether it's rc version

        cuda: the cuda version of package. It will return `False` if CPU version paddle package is installed

        cudnn: the cudnn version of package. It will return `False` if CPU version paddle package is installed

        xpu: the xpu version of package. It will return `False` if non-XPU version paddle package is installed

        xpu_xccl: the xpu xccl version of package. It will return `False` if non-XPU version paddle package is installed

        cinn: the cinn version of package. It will return `False` if paddle package is not compiled with CINN

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> # Case 1: paddle is tagged with 2.2.0
            >>> paddle.version.show()
            >>> # doctest: +SKIP('Different environments yield different output.')
            full_version: 2.2.0
            major: 2
            minor: 2
            patch: 0
            rc: 0
            cuda: '10.2'
            cudnn: '7.6.5'
            xpu: '20230114'
            xpu_xccl: '1.0.7'
            cinn: False
            >>> # doctest: -SKIP

            >>> # Case 2: paddle is not tagged
            >>> paddle.version.show()
            >>> # doctest: +SKIP('Different environments yield different output.')
            commit: cfa357e984bfd2ffa16820e354020529df434f7d
            cuda: '10.2'
            cudnn: '7.6.5'
            xpu: '20230114'
            xpu_xccl: '1.0.7'
            cinn: False
            >>> # doctest: -SKIP
    zfull_version:zmajor:zminor:zpatch:zrc:zcommit:zcuda:zcudnn:zxpu:z	xpu_xccl:zcinn:N)istagedprintfull_versionmajorminorpatchrccommitcuda_versioncudnn_versionxpu_versionxpu_xccl_versioncinn_version r   r   X/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddle/version/__init__.pyr      s   :








r   c                   C      t S )N)with_mklr   r   r   r   mkl[   s   r   c                   C   r   )a  Get cuda version of paddle package.

    Returns:
        string: Return the version information of cuda. If paddle package is CPU version, it will return False.

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> paddle.version.cuda()
            >>> # doctest: +SKIP('Different environments yield different output.')
            '10.2'

    )r   r   r   r   r   r   ^      r   c                   C   r   )a  Get cudnn version of paddle package.

    Returns:
        string: Return the version information of cudnn. If paddle package is CPU version, it will return False.

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> paddle.version.cudnn()
            >>> # doctest: +SKIP('Different environments yield different output.')
            '7.6.5'

    )r   r   r   r   r   r   p   r   r   c                   C   r   )a  Get xpu version of paddle package.

    Returns:
        string: Return the version information of xpu. If paddle package is non-XPU version, it will return False.

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> paddle.version.xpu()
            >>> # doctest: +SKIP('Different environments yield different output.')
            '20230114'

    )r   r   r   r   r   r	      r   r	   c                   C   r   )a  Get xpu xccl version of paddle package.

    Returns:
        string: Return the version information of xpu xccl. If paddle package is non-XPU version, it will return False.

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> paddle.version.xpu_xccl()
            >>> # doctest: +SKIP('Different environments yield different output.')
            '1.0.7'

    )r   r   r   r   r   r
      r   r
   c                   C   r   )a  Get CINN version of paddle package.

    Returns:
        string: Return the version information of CINN. If paddle package is not compiled with CINN, it will return False.

    Examples:
        .. code-block:: python

            >>> import paddle

            >>> paddle.version.cinn()
            >>> # doctest: +SKIP('Different environments yield different output.')
            False

    )r   r   r   r   r   cinn   r   r   N)r   r   r   r   r   r   r   r   r   r   r   r   r   __all__r   r   r   r   r	   r
   r   r   r   r   r   <module>   s*   H