관리-도구
편집 파일: _array_object.cpython-311.pyc
� �܋f۪ � �� � d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z m Z mZmZm Z mZmZmZmZ ddlmZmZmZmZmZmZ ddlZerdd lmZmZmZmZ ddlmZ ddl Z!dd l m"Z" G d� d� � Z#dS ) al Wrapper class around the ndarray object for the array API standard. The array API standard defines some behaviors differently than ndarray, in particular, type promotion rules are different (the standard has no value-based casting). The standard also specifies a more limited subset of array methods and functionalities than are implemented on ndarray. Since the goal of the array_api namespace is to be a minimal implementation of the array API standard, we need to define a separate wrapper class for the array_api namespace. The standard compliant class is only a wrapper class. It is *not* a subclass of ndarray. � )�annotationsN)�IntEnum� )�asarray) �_all_dtypes�_boolean_dtypes�_integer_dtypes�_integer_or_boolean_dtypes�_floating_dtypes�_complex_floating_dtypes�_numeric_dtypes�_result_type�_dtype_categories)� TYPE_CHECKING�Optional�Tuple�Union�Any� SupportsIndex)r � PyCapsule�Device�Dtype)� array_apic � � � e Zd ZU dZded<