403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/site-packages/numpy/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/numpy/lib/__pycache__/introspect.cpython-312.pyc
�

	�g�
���dZddlZdgZdd�Zy)z!
Introspection helper functions.
�N�
opt_func_infoc��
��ddlm}m�
|�Jtj|�}|j�D��cic]\}}|j
|�r||��}}}n|}|�ntj|��i}|j�D]B\}}i}|j�D] \}	}t�
�fd�|	D��s�|||	<�"|s�>|||<�D|S|}|Scc}}w)am
    Returns a dictionary containing the currently supported CPU dispatched
    features for all optimized functions.

    Parameters
    ----------
    func_name : str (optional)
        Regular expression to filter by function name.

    signature : str (optional)
        Regular expression to filter by data type.

    Returns
    -------
    dict
        A dictionary where keys are optimized function names and values are
        nested dictionaries indicating supported targets based on data types.

    Examples
    --------
    Retrieve dispatch information for functions named 'add' or 'sub' and
    data types 'float64' or 'float32':

    >>> import numpy as np
    >>> dict = np.lib.introspect.opt_func_info(
    ...     func_name="add|abs", signature="float64|complex64"
    ... )
    >>> import json
    >>> print(json.dumps(dict, indent=2))
        {
          "absolute": {
            "dd": {
              "current": "SSE41",
              "available": "SSE41 baseline(SSE SSE2 SSE3)"
            },
            "Ff": {
              "current": "FMA3__AVX2",
              "available": "AVX512F FMA3__AVX2 baseline(SSE SSE2 SSE3)"
            },
            "Dd": {
              "current": "FMA3__AVX2",
              "available": "AVX512F FMA3__AVX2 baseline(SSE SSE2 SSE3)"
            }
          },
          "add": {
            "ddd": {
              "current": "FMA3__AVX2",
              "available": "FMA3__AVX2 baseline(SSE SSE2 SSE3)"
            },
            "FFF": {
              "current": "FMA3__AVX2",
              "available": "FMA3__AVX2 baseline(SSE SSE2 SSE3)"
            }
          }
        }

    r)�__cpu_targets_info__�dtypec3��K�|]8}�j|�xs!�j�|�j����:y�w)N)�search�name)�.0�cr�sig_patterns  ���6C:\Python312\Lib\site-packages\numpy/lib/introspect.py�	<genexpr>z opt_func_info.<locals>.<genexpr>Vs?������� �&�&�q�)�N�[�-?�-?��a��
�
�-N�N��s�>A)�numpy._core._multiarray_umathrr�re�compile�itemsr�any)�	func_name�	signature�targets�func_pattern�k�v�matching_funcs�
matching_sigs�matching_chars�charsrrs          @@r
rr	s����t����z�z�)�,��$�]�]�_�
��Q���"�"�1�%�
�q�D�
��
�
!�����j�j��+���
�"�(�(�*�		2�D�A�q��N�"#�'�'�)�
4���w���"���-4�N�5�)�
4��#1�
�a� �		2���'�
����-
s�C
)NN)�__doc__r�__all__r��r
�<module>r"s���
��
��Vr!

Youez - 2016 - github.com/yon3zu
LinuXploit