관리-도구
편집 파일: _searching_functions.cpython-311.pyc
� �܋f� � �v � d dl mZ ddlmZ ddlmZmZ d dlmZm Z d dl Zddd�dd�Zddd�dd�Z dd�Zdd�ZdS )� )�annotations� )�Array)�_result_type�_real_numeric_dtypes)�Optional�TupleNF��axis�keepdims�xr r � Optional[int]r �bool�returnc � � | j t vrt d� � �t j t j t j | j ||�� � � � � � S )z| Array API compatible wrapper for :py:func:`np.argmax <numpy.argmax>`. See its docstring for more information. z.Only real numeric dtypes are allowed in argmaxr ) �dtyper � TypeErrorr �_new�np�asarray�argmax�_array�r r r s �w/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/array_api/_searching_functions.pyr r �N � � �w�*�*�*��H�I�I�I��:�b�j���1�8�$��!R�!R�!R�S�S�T�T�T� c � � | j t vrt d� � �t j t j t j | j ||�� � � � � � S )z| Array API compatible wrapper for :py:func:`np.argmin <numpy.argmin>`. See its docstring for more information. z.Only real numeric dtypes are allowed in argminr ) r r r r r r r �argminr r s r r r r r �Tuple[Array, ...]c �b � t d� t j | j � � D � � � � S )z~ Array API compatible wrapper for :py:func:`np.nonzero <numpy.nonzero>`. See its docstring for more information. c 3 �>