+
    ýäûjv  ã                   ó:   € ^ RI HtHt ^ RItR R ltRR R lltR# )é    )ÚAnyÚOptionalNc                óX   € V ^8„  d   QhR\         P                  R\         P                  /# )é   ÚdtypeÚreturn)Útorchr   )Úformats   "ÚfC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\kornia\augmentation\random_generator\utils.pyÚ__annotate__r      s&   € ÷ Añ AœeŸk™kð A¬e¯k©kñ Aó    c                óV   € \         P                  ! \         P                  ! 4       V 4      # )aò  Choose a bound dtype without rounding below the requested sampler precision.

``range_dtype = _range_bound_dtype(dtype)`` promotes ``dtype`` with the current default dtype
for range normalization. Retaining a wider ambient dtype keeps the existing rounding for
lower-precision samplers, while float64 samplers avoid intermediate float32 rounding.

See Also:
    - :class:`~kornia.augmentation.RandomAffine`: Configure an affine augmentation whose sampler
      bounds use this normalization dtype.
)r	   Úpromote_typesÚget_default_dtype)r   s   &r   Ú_range_bound_dtyper      s    € ô ×Òœu×6Ò6Ó8¸%Ó@Ð@r   c          
      ó’   € V ^8„  d   QhR\         R\        R\        \        P                  ,          R\
        R\        P                  /# )r   ÚnÚensure_permÚidentityÚkwargsr   )ÚintÚboolr   r	   ÚTensorr   )r
   s   "r   r   r   %   s@   € ÷ ñ ”ð ¤$ð ¼Ä%Ç,Á,Õ9Oð Ôbeð Ôjo×jvÑjvñ r   c                óø   € \         P                  ! V 3/ VB pV'       d[   Vf"   \         P                  ! WP                  R7      p\         P                  ! WB4      '       d   \         P                  ! V 3/ VB pK5  V# )z³`randomperm` with the ability to ensure the different arrangement generated.

``identity`` is the permutation to reject when ``ensure_perm`` is set; it defaults to ``arange(n)``.
)Údevice)r	   ÚrandpermÚaranger   Úequal)r   r   r   r   Úperms   &&&, r   r   r   %   sY   € ô
 �>Š>˜!Ñ&˜vÑ&€DßØÒÜ—|’| A¯k©kÔ:ˆHÜ�kŠk˜$×)Ò)Ü—>’> !Ñ. vÑ.ŠDØ€Kr   )TN)Útypingr   r   r	   r   r   © r   r   Ú<module>r"      s   ð÷$ !ã õA÷ñ r   