zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
U
O±dªã @sdZddlmZddddddgZdd    lZdd
lmZmZmZm    Z    m
Z
m Z m Z m Z d d lmZdd lmZmZmZmZmZmZmZmZmZmZmZe dddZGdd„de eƒZedZe sÆejdkrèee
eeeeeeeeeef
Z neZ eZ!eZ"Gdd„de ƒZ#d    S)a
This file defines the types for type annotations.
 
These names aren't part of the module namespace, but they are used in the
annotations in the function signatures. The functions in the module are only
valid for inputs that match the given type annotations.
é)Ú annotationsÚArrayÚDeviceÚDtypeÚSupportsDLPackÚSupportsBufferProtocolÚ    PyCapsuleN)ÚAnyÚLiteralÚSequenceÚTypeÚUnionÚ TYPE_CHECKINGÚTypeVarÚProtocolé)r) ÚdtypeÚint8Úint16Úint32Úint64Úuint8Úuint16Úuint32Úuint64Úfloat32Úfloat64Ú_T_coT)Ú    covariantc@s*eZdZdddœdd„Zddœdd„Zd    S)
ÚNestedSequenceÚintz_T_co | NestedSequence[_T_co])ÚkeyÚreturncCsdS©N©)Úselfr!r$r$úNd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/array_api/_typing.pyÚ __getitem__2ózNestedSequence.__getitem__)r"cCsdSr#r$)r%r$r$r&Ú__len__3r(zNestedSequence.__len__N)Ú__name__Ú
__module__Ú __qualname__r'r)r$r$r$r&r1srÚcpu)éé    c@s"eZdZddœdddœdd„ZdS)    r.)ÚstreamÚNoner)r0r"cCsdSr#r$)r%r0r$r$r&Ú
__dlpack__Jr(zSupportsDLPack.__dlpack__N)r*r+r,r2r$r$r$r&rIs)$Ú__doc__Ú
__future__rÚ__all__ÚsysÚtypingr    r
r r r rrrZ _array_objectrÚnumpyrrrrrrrrrrrrrrÚ version_inforrrrr$r$r$r&Ú<module>sB ú    ( 4 ÷ÿ