U
    ,dR                     @   s  d Z ddlZddlmZ ddlZddlZddlmZm	Z	 G dd de
Zdd ZG d	d
 d
eZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd  d eZG d!d" d"eZG d#d$ d$eZG d%d& d&eZG d'd( d(eZG d)d* d*eZG d+d, d,eZG d-d. d.eZG d/d0 d0eZ G d1d2 d2eZ!G d3d4 d4eZ"G d5d6 d6eZ#G d7d8 d8eZ$G d9d: d:eZ%G d;d< d<eZ&G d=d> d>eZ'G d?d@ d@eZ(G dAdB dBeZ)G dCdD dDeZ*G dEdF dFeZ+G dGdH dHeZ,G dIdJ dJeZ-G dKdL dLeZ.G dMdN dNeZ/G dOdP dPeZ0G dQdR dReZ1dSdT Z2dUdV Z3e2 Z4e3e4 dS )Wz1
This scripts specifies all PTX special objects.
    N)defaultdict)	Signature	Parameterc                   @   s(   e Zd ZdZdZdZdd Zdd ZdS )	Stubzr
    A stub object to represent special objects that are meaningless
    outside the context of a CUDA kernel
    z<ptx special value> c                 C   s   t d|  d S )Nz%s is not instantiableNotImplementedError)clsr   r   4/tmp/pip-unpacked-wheel-eu7e0c37/numba/cuda/stubs.py__new__   s    zStub.__new__c                 C   s   | j S N)_description_selfr   r   r
   __repr__   s    zStub.__repr__N)__name__
__module____qualname____doc__r   	__slots__r   r   r   r   r   r
   r      s
   r   c                    s   t   fdd}|S )zv
    A stub function to represent special functions that are meaningless
    outside the context of a CUDA kernel
    c                     s   t d  d S )Nz"%s cannot be called from host coder   )argskwargsfnr   r
   wrapped   s    zstub_function.<locals>.wrapped)	functoolswraps)r   r   r   r   r
   stub_function   s    r   c                   @   s8   e Zd ZdZdZedd Zedd Zedd Zd	S )
Dim3zA triple, (x, y, z)z<Dim3>c                 C   s   d S r   r   r   r   r   r
   x-   s    zDim3.xc                 C   s   d S r   r   r   r   r   r
   y1   s    zDim3.yc                 C   s   d S r   r   r   r   r   r
   z5   s    zDim3.zN)	r   r   r   r   r   propertyr   r    r!   r   r   r   r
   r   )   s   

r   c                   @   s   e Zd ZdZdZdS )	threadIdxz
    The thread indices in the current thread block. Each index is an integer
    spanning the range from 0 inclusive to the corresponding value of the
    attribute in :attr:`numba.cuda.blockDim` exclusive.
    z<threadIdx.{x,y,z}>Nr   r   r   r   r   r   r   r   r
   r#   :   s   r#   c                   @   s   e Zd ZdZdZdS )blockIdxz
    The block indices in the grid of thread blocks. Each index is an integer
    spanning the range from 0 inclusive to the corresponding value of the
    attribute in :attr:`numba.cuda.gridDim` exclusive.
    z<blockIdx.{x,y,z}>Nr$   r   r   r   r
   r%   C   s   r%   c                   @   s   e Zd ZdZdZdS )blockDimz
    The shape of a block of threads, as declared when instantiating the kernel.
    This value is the same for all threads in a given kernel launch, even if
    they belong to different blocks (i.e. each block is "full").
    z<blockDim.{x,y,z}>Nr$   r   r   r   r
   r&   L   s   r&   c                   @   s   e Zd ZdZdZdS )gridDimzo
    The shape of the grid of blocks. This value is the same for all threads in
    a given kernel launch.
    z<gridDim.{x,y,z}>Nr$   r   r   r   r
   r'   U   s   r'   c                   @   s   e Zd ZdZdZdS )warpsizez_
    The size of a warp. All architectures implemented to date have a warp size
    of 32.
    z
<warpsize>Nr$   r   r   r   r
   r(   ]   s   r(   c                   @   s   e Zd ZdZdZdS )laneidza
    This thread's lane within a warp. Ranges from 0 to
    :attr:`numba.cuda.warpsize` - 1.
    z<laneid>Nr$   r   r   r   r
   r)   e   s   r)   c                   @   s   e Zd ZdZdZdS )grida  grid(ndim)

    Return the absolute position of the current thread in the entire grid of
    blocks.  *ndim* should correspond to the number of dimensions declared when
    instantiating the kernel. If *ndim* is 1, a single integer is returned.
    If *ndim* is 2 or 3, a tuple of the given number of integers is returned.

    Computation of the first integer is as follows::

        cuda.threadIdx.x + cuda.blockIdx.x * cuda.blockDim.x

    and is similar for the other two indices, but using the ``y`` and ``z``
    attributes.
    z<grid(ndim)>Nr$   r   r   r   r
   r*   m   s   r*   c                   @   s   e Zd ZdZdZdS )gridsizea  gridsize(ndim)

    Return the absolute size (or shape) in threads of the entire grid of
    blocks. *ndim* should correspond to the number of dimensions declared when
    instantiating the kernel. If *ndim* is 1, a single integer is returned.
    If *ndim* is 2 or 3, a tuple of the given number of integers is returned.

    Computation of the first integer is as follows::

        cuda.blockDim.x * cuda.gridDim.x

    and is similar for the other two indices, but using the ``y`` and ``z``
    attributes.
    z<gridsize(ndim)>Nr$   r   r   r   r
   r+      s   r+   c                   @   s    e Zd ZdZdZedd ZdS )sharedz!
    Shared memory namespace
    z<shared>c                 C   s   dS )a  
        Allocate a shared array of the given *shape* and *type*. *shape* is
        either an integer or a tuple of integers representing the array's
        dimensions.  *type* is a :ref:`Numba type <numba-types>` of the
        elements needing to be stored in the array.

        The returned array-like object can be read and written to like any
        normal device array (e.g. through indexing).
        Nr   shapedtyper   r   r
   array   s    zshared.arrayNr   r   r   r   r   r   r0   r   r   r   r
   r,      s   r,   c                   @   s    e Zd ZdZdZedd ZdS )localz 
    Local memory namespace
    z<local>c                 C   s   dS )a  
        Allocate a local array of the given *shape* and *type*. The array is
        private to the current thread, and resides in global memory. An
        array-like object is returned which can be read and written to like any
        standard array (e.g.  through indexing).
        Nr   r-   r   r   r
   r0      s    zlocal.arrayNr1   r   r   r   r
   r2      s   r2   c                   @   s   e Zd ZdZedd ZdS )constz#
    Constant memory namespace
    c                 C   s   dS )z
        Create a const array from *ndarry*. The resulting const array will have
        the same shape, type, and values as *ndarray*.
        Nr   )Zndarrayr   r   r
   
array_like   s    zconst.array_likeN)r   r   r   r   r   r4   r   r   r   r
   r3      s   r3   c                   @   s,   e Zd ZdZedd ZG dd deZdS )cgz
    Cooperative groups
    c                   C   s   dS )z-
        Get the current grid group.
        Nr   r   r   r   r
   	this_grid   s    zcg.this_gridc                   @   s   e Zd Zdd ZdS )zcg.GridGroupc                   C   s   dS )z=
            Synchronize the current grid group.
            Nr   r   r   r   r
   sync   s    zcg.GridGroup.syncN)r   r   r   r7   r   r   r   r
   	GridGroup   s   r8   N)r   r   r   r   r   r6   r   r8   r   r   r   r
   r5      s   
r5   c                   @   s   e Zd ZdZdZdS )syncthreadsa  
    Synchronize all threads in the same thread block.  This function implements
    the same pattern as barriers in traditional multi-threaded programming: this
    function waits until all threads in the block call it, at which point it
    returns control to all its callers.
    z<syncthreads()>Nr$   r   r   r   r
   r9      s   r9   c                   @   s   e Zd ZdZdZdS )syncthreads_countz
    syncthreads_count(predictate)

    An extension to numba.cuda.syncthreads where the return value is a count
    of the threads where predicate is true.
    z<syncthreads_count()>Nr$   r   r   r   r
   r:      s   r:   c                   @   s   e Zd ZdZdZdS )syncthreads_andz
    syncthreads_and(predictate)

    An extension to numba.cuda.syncthreads where 1 is returned if predicate is
    true for all threads or 0 otherwise.
    z<syncthreads_and()>Nr$   r   r   r   r
   r;      s   r;   c                   @   s   e Zd ZdZdZdS )syncthreads_orz
    syncthreads_or(predictate)

    An extension to numba.cuda.syncthreads where 1 is returned if predicate is
    true for any thread or 0 otherwise.
    z<syncthreads_or()>Nr$   r   r   r   r
   r<      s   r<   c                   @   s   e Zd ZdZdZdS )syncwarpz[
    syncwarp(mask=0xFFFFFFFF)

    Synchronizes a masked subset of threads in a warp.
    z<warp_sync()>Nr$   r   r   r   r
   r=     s   r=   c                   @   s   e Zd ZdZdZdS )shfl_sync_intrinsicz
    shfl_sync_intrinsic(mask, mode, value, mode_offset, clamp)

    Nvvm intrinsic for shuffling data across a warp
    docs.nvidia.com/cuda/nvvm-ir-spec/index.html#nvvm-intrin-warp-level-datamove
    z<shfl_sync()>Nr$   r   r   r   r
   r>     s   r>   c                   @   s   e Zd ZdZdZdS )vote_sync_intrinsicz
    vote_sync_intrinsic(mask, mode, predictate)

    Nvvm intrinsic for performing a reduce and broadcast across a warp
    docs.nvidia.com/cuda/nvvm-ir-spec/index.html#nvvm-intrin-warp-level-vote
    z<vote_sync()>Nr$   r   r   r   r
   r?     s   r?   c                   @   s   e Zd ZdZdZdS )match_any_syncz
    match_any_sync(mask, value)

    Nvvm intrinsic for performing a compare and broadcast across a warp.
    Returns a mask of threads that have same value as the given value from
    within the masked warp.
    z<match_any_sync()>Nr$   r   r   r   r
   r@   $  s   r@   c                   @   s   e Zd ZdZdZdS )match_all_synca  
    match_all_sync(mask, value)

    Nvvm intrinsic for performing a compare and broadcast across a warp.
    Returns a tuple of (mask, pred), where mask is a mask of threads that have
    same value as the given value from within the masked warp, if they
    all have the same value, otherwise it is 0. Pred is a boolean of whether
    or not all threads in the mask warp have the same warp.
    z<match_all_sync()>Nr$   r   r   r   r
   rA   /  s   	rA   c                   @   s   e Zd ZdZdZdS )
activemaskaY  
    activemask()

    Returns a 32-bit integer mask of all currently active threads in the
    calling warp. The Nth bit is set if the Nth lane in the warp is active when
    activemask() is called. Inactive threads are represented by 0 bits in the
    returned mask. Threads which have exited the kernel are always marked as
    inactive.
    z<activemask()>Nr$   r   r   r   r
   rB   <  s   	rB   c                   @   s   e Zd ZdZdZdS )lanemask_ltz
    lanemask_lt()

    Returns a 32-bit integer mask of all lanes (including inactive ones) with
    ID less than the current lane.
    z<lanemask_lt()>Nr$   r   r   r   r
   rC   I  s   rC   c                   @   s   e Zd ZdZdZdS )threadfence_blockz.
    A memory fence at thread block level
    z<threadfence_block()>Nr$   r   r   r   r
   rD   V  s   rD   c                   @   s   e Zd ZdZdZdS )threadfence_systemz8
    A memory fence at system level: across devices
    z<threadfence_system()>Nr$   r   r   r   r
   rE   ]  s   rE   c                   @   s   e Zd ZdZdZdS )threadfencez(
    A memory fence at device level
    z<threadfence()>Nr$   r   r   r   r
   rF   d  s   rF   c                   @   s   e Zd ZdZdS )popcz;
    popc(x)

    Returns the number of set bits in x.
    Nr   r   r   r   r   r   r   r
   rG   n  s   rG   c                   @   s   e Zd ZdZdS )brevzs
    brev(x)

    Returns the reverse of the bit pattern of x. For example, 0b10110110
    becomes 0b01101101.
    NrH   r   r   r   r
   rI   v  s   rI   c                   @   s   e Zd ZdZdS )clzz?
    clz(x)

    Returns the number of leading zeros in z.
    NrH   r   r   r   r
   rJ     s   rJ   c                   @   s   e Zd ZdZdS )ffsz
    ffs(x)

    Returns the position of the first (least significant) bit set to 1 in x,
    where the least significant bit position is 1. ffs(0) returns 0.
    NrH   r   r   r   r
   rK     s   rK   c                   @   s   e Zd ZdZdS )selpzt
    selp(a, b, c)

    Select between source operands, based on the value of the predicate source
    operand.
    NrH   r   r   r   r
   rL     s   rL   c                   @   s   e Zd ZdZdS )fmazE
    fma(a, b, c)

    Perform the fused multiply-add operation.
    NrH   r   r   r   r
   rM     s   rM   c                   @   s   e Zd ZdZdS )cbrtz8"
    cbrt(a)

    Perform the cube root operation.
    NrH   r   r   r   r
   rN     s   rN   c                   @   s   e Zd ZdZdZG dd deZG dd deZG dd deZG d	d
 d
eZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZdS )atomicz$Namespace for atomic operations
    z<atomic>c                   @   s   e Zd ZdZdS )z
atomic.addzadd(ary, idx, val)

        Perform atomic ary[idx] += val. Supported on int32, float32, and
        float64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   add  s   rP   c                   @   s   e Zd ZdZdS )z
atomic.subzsub(ary, idx, val)

        Perform atomic ary[idx] -= val. Supported on int32, float32, and
        float64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   sub  s   rQ   c                   @   s   e Zd ZdZdS )zatomic.and_zand_(ary, idx, val)

        Perform atomic ary[idx] &= val. Supported on int32, int64, uint32 and
        uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   and_  s   rR   c                   @   s   e Zd ZdZdS )z
atomic.or_zor_(ary, idx, val)

        Perform atomic ary[idx] \|= val. Supported on int32, int64, uint32 and
        uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   or_  s   rS   c                   @   s   e Zd ZdZdS )z
atomic.xorzxor(ary, idx, val)

        Perform atomic ary[idx] ^= val. Supported on int32, int64, uint32 and
        uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   xor  s   rT   c                   @   s   e Zd ZdZdS )z
atomic.inczinc(ary, idx, val)

        Perform atomic ary[idx] += 1 up to val, then reset to 0. Supported
        on uint32, and uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   inc  s   rU   c                   @   s   e Zd ZdZdS )z
atomic.deca  dec(ary, idx, val)

        Perform ary[idx] = (value if (array[idx] == 0) or
        (array[idx] > value) else array[idx] - 1).

        Supported on uint32, and uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   dec  s   rV   c                   @   s   e Zd ZdZdS )zatomic.exchzexch(ary, idx, val)

        Perform atomic ary[idx] = val. Supported on int32, int64, uint32 and
        uint64 operands only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   exch  s   rW   c                   @   s   e Zd ZdZdS )z
atomic.maxa
  max(ary, idx, val)

        Perform atomic ary[idx] = max(ary[idx], val).

        Supported on int32, int64, uint32, uint64, float32, float64 operands
        only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   max	  s   rX   c                   @   s   e Zd ZdZdS )z
atomic.mina
  min(ary, idx, val)

        Perform atomic ary[idx] = min(ary[idx], val).

        Supported on int32, int64, uint32, uint64, float32, float64 operands
        only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   min  s   rY   c                   @   s   e Zd ZdZdS )zatomic.nanmaxaz  nanmax(ary, idx, val)

        Perform atomic ary[idx] = max(ary[idx], val).

        NOTE: NaN is treated as a missing value such that:
        nanmax(NaN, n) == n, nanmax(n, NaN) == n

        Supported on int32, int64, uint32, uint64, float32, float64 operands
        only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   nanmax!  s   rZ   c                   @   s   e Zd ZdZdS )zatomic.nanmina{  nanmin(ary, idx, val)

        Perform atomic ary[idx] = min(ary[idx], val).

        NOTE: NaN is treated as a missing value, such that:
        nanmin(NaN, n) == n, nanmin(n, NaN) == n

        Supported on int32, int64, uint32, uint64, float32, float64 operands
        only.

        Returns the old value at the index location as if it is loaded
        atomically.
        NrH   r   r   r   r
   nanmin0  s   r[   c                   @   s   e Zd ZdZdS )zatomic.compare_and_swapzcompare_and_swap(ary, old, val)

        Conditionally assign ``val`` to the first element of an 1D array ``ary``
        if the current value matches ``old``.

        Returns the current value as if it is loaded atomically.
        NrH   r   r   r   r
   compare_and_swap?  s   r\   N)r   r   r   r   r   r   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r   r   r   r
   rO     s   






rO   c                   @   s   e Zd ZdZdZdS )	nanosleepz
    nanosleep(ns)

    Suspends the thread for a sleep duration approximately close to the delay
    `ns`, specified in nanoseconds.
    z<nansleep()>Nr$   r   r   r   r
   r]   L  s   r]   c                   @   s   e Zd ZdZdZG dd deZG dd deZG dd deZG d	d
 d
eZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZdS ) fp16z"Namespace for fp16 operations
    z<fp16>c                   @   s   e Zd ZdZdS )z	fp16.haddzhadd(a, b)

        Perform fp16 addition, (a + b) in round to nearest mode. Supported
        on fp16 operands only.

        Returns the fp16 result of the addition.

        NrH   r   r   r   r
   hadd^  s   r_   c                   @   s   e Zd ZdZdS )z	fp16.hsubzhsub(a, b)

        Perform fp16 subtraction, (a - b) in round to nearest mode. Supported
        on fp16 operands only.

        Returns the fp16 result of the subtraction.

        NrH   r   r   r   r
   hsubh  s   r`   c                   @   s   e Zd ZdZdS )z	fp16.hmulzhmul(a, b)

        Perform fp16 multiplication, (a * b) in round to nearest mode. Supported
        on fp16 operands only.

        Returns the fp16 result of the multiplication.

        NrH   r   r   r   r
   hmulr  s   ra   c                   @   s   e Zd ZdZdS )z	fp16.hfmazhfma(a, b, c)

        Perform fp16 multiply and accumulate, (a * b) + c in round to nearest
        mode. Supported on fp16 operands only.

        Returns the fp16 result of the multiplication.

        NrH   r   r   r   r
   hfma|  s   rb   c                   @   s   e Zd ZdZdS )z	fp16.hnegzhneg(a)

        Perform fp16 negation, -(a). Supported on fp16 operands only.

        Returns the fp16 result of the negation.

        NrH   r   r   r   r
   hneg  s   rc   c                   @   s   e Zd ZdZdS )z	fp16.habszhabs(a)

        Perform fp16 absolute value, |a|. Supported on fp16 operands only.

        Returns the fp16 result of the absolute value.

        NrH   r   r   r   r
   habs  s   rd   c                   @   s   e Zd ZdZdS )zfp16.heqzheq(a, b)

        Perform fp16 comparison, (a == b). Supported
        on fp16 operands only.

        Returns True if a and b are equal and False otherwise.

        NrH   r   r   r   r
   heq  s   re   c                   @   s   e Zd ZdZdS )zfp16.hnezhne(a, b)

        Perform fp16 comparison, (a != b). Supported
        on fp16 operands only.

        Returns True if a and b are not equal and False otherwise.

        NrH   r   r   r   r
   hne  s   rf   c                   @   s   e Zd ZdZdS )zfp16.hgezhge(a, b)

        Perform fp16 comparison, (a >= b). Supported
        on fp16 operands only.

        Returns True if a is >= b and False otherwise.

        NrH   r   r   r   r
   hge  s   rg   c                   @   s   e Zd ZdZdS )zfp16.hgtzhgt(a, b)

        Perform fp16 comparison, (a > b). Supported
        on fp16 operands only.

        Returns True if a is > b and False otherwise.

        NrH   r   r   r   r
   hgt  s   rh   c                   @   s   e Zd ZdZdS )zfp16.hlezhle(a, b)

        Perform fp16 comparison, (a <= b). Supported
        on fp16 operands only.

        Returns True if a is <= b and False otherwise.

        NrH   r   r   r   r
   hle  s   ri   c                   @   s   e Zd ZdZdS )zfp16.hltzhlt(a, b)

        Perform fp16 comparison, (a < b). Supported
        on fp16 operands only.

        Returns True if a is < b and False otherwise.

        NrH   r   r   r   r
   hlt  s   rj   c                   @   s   e Zd ZdZdS )z	fp16.hmaxzhmax(a, b)

        Perform fp16 maximum operation, max(a,b) Supported
        on fp16 operands only.

        Returns a if a is greater than b, returns b otherwise.

        NrH   r   r   r   r
   hmax  s   rk   c                   @   s   e Zd ZdZdS )z	fp16.hminzhmin(a, b)

        Perform fp16 minimum operation, min(a,b). Supported
        on fp16 operands only.

        Returns a if a is less than b, returns b otherwise.

        NrH   r   r   r   r
   hmin  s   rl   N)r   r   r   r   r   r   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   r   r   r   r
   r^   Y  s    



		






r^   c            	      C   s   g } d}d}d}t ||D ]~\}}| d| }|d| }t|tfdd |D d| d	td
d |d| D dd| dddg i}| | q| S )z)Make user facing objects for vector types)
Zint8Zint16Zint32Zint64Zuint8Zuint16Zuint32Zuint64Zfloat32Zfloat64)            )r   r    r!   wr   Nc                 S   s   i | ]}|d d qS )c                 S   s   d S r   r   r   r   r   r
   <lambda>      z3make_vector_type_stubs.<locals>.<dictcomp>.<lambda>r   ).0attrr   r   r
   
<dictcomp>  s      z*make_vector_type_stubs.<locals>.<dictcomp><>c                 S   s   g | ]}t |t jd qS ))namekind)r   POSITIONAL_ONLY)rt   	attr_namer   r   r
   
<listcomp>
  s
    z*make_vector_type_stubs.<locals>.<listcomp>)
parameterszA stub for z to be used in CUDA kernels.)r   __signature__r   aliases)	itertoolsproducttyper   r   append)	vector_type_stubsZvector_type_prefixZvector_type_element_countsZvector_type_attribute_namesprefixnelem	type_nameZ
attr_namesZvector_type_stubr   r   r
   make_vector_type_stubs  s2      



r   c                 C   s  dt t jjd  dt t jjd  dt t jjd  dt t jjd  dt t jjd  dt t jjd  dt t j	jd  dt t j
jd  dt t jjd  dt t jjd  dt t jjd  dt t jjd  d}tt}| D ]}||jdd  | q| D ]<\}}|| } | D ]$}|jd }|j| |  qVqBdS )	zVFor each of the stubs, create its aliases.

    For example: float64x3 -> double3
    int   uintfloat)charshortr   longlonglongZucharushortr   Zulong	ulonglongr   doubleN)npr/   byteitemsizer   Zintcint_r   Zubyter   Zuintcr   r   Zsingler   r   listr   r   itemsr   )r   Zbase_type_to_aliasZbase_type_to_vector_typeZstubaliasZ	base_typer   r   r   r
   map_vector_type_stubs_to_alias  s*    
r   )5r   Znumpyr   collectionsr   r   r   inspectr   r   objectr   r   r   r#   r%   r&   r'   r(   r)   r*   r+   r,   r2   r3   r5   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rI   rJ   rK   rL   rM   rN   rO   r]   r^   r   r   Z_vector_type_stubsr   r   r   r
   <module>   sd   			


	


	  -!