관리-도구
편집 파일: _indexing_functions.cpython-311.pyc
� �܋fY � �: � d dl mZ ddlmZ ddlmZ d dlZd d�ZdS )� )�annotations� )�Array)�_integer_dtypesN�xr �indices�axis�int�returnc �� � |j t vrt d� � �|j dk rt d� � �t j t j | j |j |�� � � � S )zx Array API compatible wrapper for :py:func:`np.take <numpy.take>`. See its docstring for more information. z+Only integer dtypes are allowed in indexingr z%Only 1-dim indices array is supported)r ) �dtyper � TypeError�ndim� ValueErrorr �_new�np�take�_array)r r r s �v/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/array_api/_indexing_functions.pyr r sa � � �}�O�+�+��E�F�F�F��|�q����@�A�A�A��:�b�g�a�h���T�B�B�B�C�C�C� )r r r r r r r r ) � __future__r � _array_objectr �_dtypesr �numpyr r � r r �<module>r sk �� "� "� "� "� "� "� � � � � � � $� $� $� $� $� $� � � � � D� D� D� D� D� Dr