§
    `ƒih  ã                   óÊ  — d dl Zd dlZd dlmZ d„ Zd:d„Zd„ Z	d dl
mZ d dl
mZ d dl
mZ d d	l
mZ d d
l
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
mZ d dl
m Z  d dl
m!Z! d dl
m"Z" d dl
m#Z# d dl
m$Z$ d d l
m%Z% d d!l
m&Z& d d"l
m'Z' d d#l
m(Z( d d$l
m)Z) d d%l
m*Z* d d&l
m+Z+ d d'l
m,Z, d d(l-m.Z. d d)l-m/Z/ d d*l-m0Z0 d d+l-m1Z1 d d,l-m2Z2 d d-l3m4Z4 d d.l3m5Z5 d d/l6m7Z7 d d0l6m8Z8 d d1l6m9Z9 d d2l6m:Z: d d3l6m;Z; d d4l6m<Z< d d5l6m=Z= d d5l6m=Z> d d5l6m=Z? d d5l6m=Z@ d d6lAmBZB d d7lAmCZC d d8lAmDZD d d9lAmEZE dS );é    N)Úruntimec                 ó@   — t           j                             | ¦  «        S )a  Returns random bytes.

    .. note:: This function is just a wrapper for :obj:`numpy.random.bytes`.
        The resulting bytes are generated on the host (NumPy), not GPU.

    .. seealso:: :meth:`numpy.random.bytes
                 <numpy.random.mtrand.RandomState.bytes>`
    )Ú_numpyÚrandomÚbytes)Úlengths    úh/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/cupy/random/__init__.pyr   r      s   € õ Œ=×Ò˜vÑ&Ô&Ð&ó    c                 óJ  — ddl m} t          j        rHt	          t          t          j        ¦   «         ¦  «        dd…         ¦  «        dk     rt          d¦  «        ‚t          | t          ¦  «        r || ¦  «        S t          | |¦  «        r| S  |t          | ¦  «        ¦  «        S )a  Construct a new Generator with the default BitGenerator (XORWOW).

    Args:
        seed (None, int, array_like[ints], numpy.random.SeedSequence, cupy.random.BitGenerator, cupy.random.Generator, optional):
            A seed to initialize the :class:`cupy.random.BitGenerator`. If an
            ``int`` or ``array_like[ints]`` or None is passed, then it will be
            passed to :class:`numpy.random.SeedSequence` to detive the initial
            :class:`BitGenerator` state. One may also pass in a `SeedSequence
            instance. Adiditionally, when passed :class:`BitGenerator`, it will
            be wrapped by :class:`Generator`. If passed a :class:`Generator`,
            it will be returned unaltered.

    Returns:
        Generator: The initialized generator object.
    r   )Ú	GeneratorNé   i“  zRGenerator API not supported in ROCm<4.3, please use the legacy one or update ROCm.)Úcupy.random._generator_apir   Ú_runtimeÚis_hipÚintÚstrÚruntimeGetVersionÚRuntimeErrorÚ
isinstanceÚBitGeneratorÚXORWOW)Úseedr   s     r	   Údefault_rngr      sµ   € ð  5Ð4Ð4Ð4Ð4Ð4å„ð I3s¥8Ô#=Ñ#?Ô#?Ñ@Ô@ÀÀ!ÀÔDÑEÔEÈÒKÐKÝð Hñ Iô Ið 	Iå$Ñ%Ô%ð Øˆy˜‰ŒÐÝ	D˜)Ñ	$Ô	$ð ØˆØˆ9•V˜D‘\”\Ñ"Ô"Ð"r
   c                 ó”   — | dk    r(dd l }|j        j        j        }|t          j        _        |S t          dt          › d| › d¦  «        ‚)Nr   r   zmodule 'z' has no attribute 'ú')r   r   Ú_generator_apir   Ú_cupyÚAttributeErrorÚ__name__)ÚkeyÚcupyr   s      r	   Ú__getattr__r"   0   sZ   € ð ˆkÒÐà)Ð)Ð)Ð)Ø”KÔ.Ô8ˆ	Ø!*ŒÔØÐÝ
ÐH¥HÐHÐHÀ#ÐHÐHÐHÑ
IÔ
IÐIr
   )Úbeta)Úbinomial)Ú	chisquare)Ú	dirichlet)Úexponential)Úf)Úgamma)Ú	geometric)Úgumbel)Úhypergeometric)Úlaplace)Úlogistic)Ú	lognormal)Ú	logseries)Úmultivariate_normal)Únegative_binomial)Únoncentral_chisquare)Únoncentral_f)Únormal)Úpareto)Úpoisson)Úpower)Úrayleigh)Ústandard_cauchy)Ústandard_exponential)Ústandard_gamma)Ústandard_normal)Ú
standard_t)Ú
triangular)Úuniform)Úvonmises)Úwald)Úweibull)Úzipf)Úget_random_state)ÚRandomState)Úreset_states)r   )Úset_random_state)Úpermutation)Úshuffle)Úchoice)Úmultinomial)Úrand)Úrandint)Úrandn)Úrandom_integers)Úrandom_sample)r   )r   )ÚMRG32k3a)ÚPhilox4x3210)N)FÚnumpyr   r!   r   Úcupy_backends.cuda.apir   r   r   r   r"   Úcupy.random._distributionsr#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   Úcupy.random._generatorrE   rF   rG   r   rH   Úcupy.random._permutationsrI   rJ   Úcupy.random._samplerK   rL   rM   rN   rO   rP   rQ   r   ÚranfÚsampleÚcupy.random._bit_generatorr   r   rR   rS   © r
   r	   ú<module>r^      sJ  ðØ Ð Ð Ð à Ð Ð Ð Ø 6Ð 6Ð 6Ð 6Ð 6Ð 6ð
'ð 
'ð 
'ð#ð #ð #ð #ð8	Jð 	Jð 	Jð ,Ð +Ð +Ð +Ð +Ð +Ø /Ð /Ð /Ð /Ð /Ð /Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø 2Ð 2Ð 2Ð 2Ð 2Ð 2Ø (Ð (Ð (Ð (Ð (Ð (Ø ,Ð ,Ð ,Ð ,Ð ,Ð ,Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø -Ð -Ð -Ð -Ð -Ð -Ø 5Ð 5Ð 5Ð 5Ð 5Ð 5Ø .Ð .Ð .Ð .Ð .Ð .Ø /Ð /Ð /Ð /Ð /Ð /Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø :Ð :Ð :Ð :Ð :Ð :Ø 8Ð 8Ð 8Ð 8Ð 8Ð 8Ø ;Ð ;Ð ;Ð ;Ð ;Ð ;Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø -Ð -Ð -Ð -Ð -Ð -Ø -Ð -Ð -Ð -Ð -Ð -Ø .Ð .Ð .Ð .Ð .Ð .Ø ,Ð ,Ð ,Ð ,Ð ,Ð ,Ø /Ð /Ð /Ð /Ð /Ð /Ø 6Ð 6Ð 6Ð 6Ð 6Ð 6Ø ;Ð ;Ð ;Ð ;Ð ;Ð ;Ø 5Ð 5Ð 5Ð 5Ð 5Ð 5Ø 6Ð 6Ð 6Ð 6Ð 6Ð 6Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø .Ð .Ð .Ð .Ð .Ð .Ø /Ð /Ð /Ð /Ð /Ð /Ø +Ð +Ð +Ð +Ð +Ð +Ø .Ð .Ð .Ð .Ð .Ð .Ø +Ð +Ð +Ð +Ð +Ð +Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø .Ð .Ð .Ð .Ð .Ð .Ø /Ð /Ð /Ð /Ð /Ð /Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø -Ð -Ð -Ð -Ð -Ð -Ø &Ð &Ð &Ð &Ð &Ð &Ø +Ð +Ð +Ð +Ð +Ð +Ø $Ð $Ð $Ð $Ð $Ð $Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø %Ð %Ð %Ð %Ð %Ð %Ø /Ð /Ð /Ð /Ð /Ð /Ø -Ð -Ð -Ð -Ð -Ð -Ø 7Ð 7Ð 7Ð 7Ð 7Ð 7Ø 5Ð 5Ð 5Ð 5Ð 5Ð 5Ø 7Ð 7Ð 7Ð 7Ð 7Ð 7Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø -Ð -Ð -Ð -Ð -Ð -Ø /Ð /Ð /Ð /Ð /Ð /Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3r
   