§
    zni	  ã                  ó  — d dl mZ ddlmZ ddlmZ ed„ ¦   «         Ze ej        d¦  «        d„ ¦   «         ¦   «         Ze ej        d	¦  «        dd„¦   «         ¦   «         Z	ed„ ¦   «         Z
ed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         ZdS )é    )Úannotationsé   )Újité   )Úcorec                ó   — | |z   dz
  |z  S )z¬
    Computes the ceiling division of :code:`x` by :code:`div`

    :param x: the input number
    :type input: Block
    :param div: the divisor
    :param div: Block
    r   © )ÚxÚdivs     úx/var/www/html/cool-property-finder/image-detection-backend/venv/lib/python3.11/site-packages/triton/language/standard.pyÚcdivr      s   € ð �‰G�a‰K˜CÑÐó    Úsigmoidc                ó8   — ddt          j        |  ¦  «        z   z  S )Nr   )r   Úexp©r
   s    r   r   r      s   € ð �•D”H˜a˜R‘L”LÑ Ñ!Ð!r   ÚsoftmaxFc                ó°   — | t          j        | d¦  «        z
  }t          j        |¦  «        }t          j        |d¦  «        }t          j        |||¦  «        S )Nr   )r   Úmaxr   ÚsumÚfdiv)r
   Úieee_roundingÚzÚnumÚdens        r   r   r      sJ   € ð 	
�DŒH�Q˜‰NŒNÑ€AÝ
Œ(�1‰+Œ+€CÝ
Œ(�3˜Ñ
Ô
€CÝŒ9�S˜#˜}Ñ-Ô-Ð-r   c                ó8   — t          j        | | j        g¦  «        S )zn
    Returns a contiguous flattened view of :code:`x`.

    :param x: the input tensor
    :type x: Block
    )r   ÚviewÚnumelr   s    r   Úravelr   '   s   € õ Œ9�Q˜œ˜	Ñ"Ô"Ð"r   c                óˆ   — | |z  |z   }||z  }||z  }||z  }t          j        ||z
  |¦  «        }|||z  z   }	||z  |z  }
|	|
fS )a™  
    Transforms indices of a row-major size_i*size_j matrix into those
    of one where indices are row major for each group of size_j rows.
    For example, for size_i = size_j = 4 and size_g = 2, it will transform
    [[0 , 1 , 2 , 3 ],
     [4 , 5 , 6 , 7 ],
     [8 , 9 , 10, 11],
     [12, 13, 14, 15]]
    into
    [[0, 2,  4 , 6 ],
     [1, 3,  5 , 7 ],
     [8, 10, 12, 14],
     [9, 11, 13, 15]]
    )r   Úminimum)ÚiÚjÚsize_iÚsize_jÚsize_gÚijÚsize_gjÚgroup_idÚoff_iÚnew_iÚnew_js              r   Ú	swizzle2dr-   2   sj   € ð" 
ˆV‰�a‰€Bð �v‰o€Gà�W‰}€Hà�vÑ€EåŒ\˜& 5™.¨&Ñ1Ô1€Fà�R˜&‘[Ñ!€EØ�'‰\˜fÑ$€EØ�%ˆ<Ðr   c                ó.   — t          j        | d|¦  «        S )a'  
    Returns a tensor filled with the scalar value 0 for the given :code:`shape` and :code:`dtype`.

    :param shape: Shape of the new array, e.g., (8, 16) or (8, )
    :type shape: tuple of ints
    :param dtype: Data-type of the new array, e.g., :code:`tl.float16`
    :type dtype: DType
    r   )r   Úfull)ÚshapeÚdtypes     r   Úzerosr2   S   s   € õ Œ9�U˜A˜uÑ%Ô%Ð%r   c                ó6   — t          | j        | j        ¦  «        S )N)r2   r0   r1   )Úinputs    r   Ú
zeros_liker5   `   s   € å�”˜eœkÑ*Ô*Ð*r   N)F)Ú
__future__r   Úruntime.jitr   Ú r   r   Ú_add_math_1arg_docstrr   r   r   r-   r2   r5   r	   r   r   ú<module>r:      s8  ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ð ð	 ð 	 ñ „ð	 ð Ø€Ô˜IÑ&Ô&ð"ð "ñ 'Ô&ñ „ð"ð Ø€Ô˜IÑ&Ô&ð.ð .ð .ñ 'Ô&ñ „ð.ð ð#ð #ñ „ð#ð ðð ñ „ðð@ ð	&ð 	&ñ „ð	&ð ð+ð +ñ „ð+ð +ð +r   