+
    õäûjE+  ã                   ój  € R t ^ RIt^ RIHtHtHtHt ^ RIt^ RIH	t	 ^ RI
Ht ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^ RIHt  ^ RIH!t" ^ RI#H$t% ^ RI#H&t' ^ RI#H(t) ^ RI#H*t+ ^ RI#H,t- ^ RI#H.t/ ^ RI#H0t1 ^ RI#H2t3 ^ RI4H5t6 . RBOt7RCR R llt8RCR R lltRCR R lltR R ltRDR  R! lltRER" R# llt.RFR$ R% llt2RGR& R' lltR( R) ltR* R+ ltRER, R- lltRHR. R/ lltRIR0 R1 lltR2 R3 lt!R4 R5 lt&RJR6 R7 llt*R8 R9 lt(R: R; lt$RKR< R= llt,RLR> R? llt0RMR@ RA llt5R# )Naø  Deprecated top-level aliases such as ``kornia.create_meshgrid``; ``kornia/__init__.py`` binds them.

Each alias takes the signature of the function it forwards to and warns only outside TorchScript and outside
``torch.compile``/``torch.export`` graph capture, so code written against 0.8.2 scripts and compiles wherever the
function the alias forwards to does. They live in their own module so that the names their annotations need
(``torch``, ``os``, ``typing``) do not become attributes of ``kornia``.
N)ÚAnyÚListÚOptionalÚUnion©Ú_emit_deprecation_warning)Úeye_like)Úvec_like)Úget_cuda_device_if_available)Ú#get_cuda_or_mps_device_if_available)Úget_mps_device_if_available)Úis_autocast_enabled)Úxla_is_available)Úcreate_meshgrid)Úcreate_meshgrid3d)Úload_pointcloud_ply)Úsave_pointcloud_ply)Údraw_convex_polygon)Ú	draw_line)Údraw_point2d)Údraw_rectangle)Úimage_to_string)Úimage_to_tensor)Úprint_image)Útensor_to_image)Úone_hotc                ó@   € V ^8„  d   QhR\         R\         R\        RR/# )é   ÚnameÚreplace_withÚpreviously_in_utilsÚreturnN)ÚstrÚbool)Úformats   "ÚVC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\kornia\_deprecated_aliases.pyÚ__annotate__r&   p   s.   € ÷ Wñ W”ð W¤3ð W¼Tð WÈdñ Wó    c                óD   € V'       d   RV  R2MRp\        WRV^R7       R# )zaWarn that ``kornia.<name>`` is deprecated in favor of ``replace_with``, at the line that used it.z' Previously available as `kornia.utils.z`.Nz0.8.3)Ú
stacklevelr   )r   r   r    Úextra_reasons   &&& r%   Ú_warnr+   p   s%   € çI\Ð<¸T¸FÀ"ÑEÐbf€LÜ˜d°'¸<ÐTU×Vr'   c                óp   € V ^8„  d   QhR\         R\        P                  R\        R\        P                  /# )r   ÚnÚinputÚshared_memoryr!   ©ÚintÚtorchÚTensorr#   )r$   s   "r%   r&   r&   v   s0   € ÷ .ñ .”ð .œEŸL™Lð .¼ð .Ì%Ï,É,ñ .r'   c                óz   € \         P                  P                  4       '       g   \        RR4       \	        WV4      # )z3Deprecated: Use `kornia.core.ops.eye_like` instead.r   zkornia.core.ops.eye_like)r2   ÚjitÚis_scriptingr+   Ú	_eye_like)r-   r.   r/   s   &&&r%   r   r   v   s-   € ä�9‰9×!Ñ!×#Ò#ÜˆjÐ4Ô5Ü�Q˜}Ó-Ð-r'   c                óp   € V ^8„  d   QhR\         R\        P                  R\        R\        P                  /# )r   r-   Útensorr/   r!   r0   )r$   s   "r%   r&   r&   }   s0   € ÷ /ñ /”ð /œUŸ\™\ð /¼$ð /Ì5Ï<É<ñ /r'   c                óz   € \         P                  P                  4       '       g   \        RR4       \	        WV4      # )z3Deprecated: Use `kornia.core.ops.vec_like` instead.r	   zkornia.core.ops.vec_like)r2   r5   r6   r+   Ú	_vec_like)r-   r9   r/   s   &&&r%   r	   r	   }   s-   € ä�9‰9×!Ñ!×#Ò#ÜˆjÐ4Ô5Ü�Q Ó.Ð.r'   c                ó$   € V ^8„  d   QhR\         /# ©r   r!   ©r#   )r$   s   "r%   r&   r&   „   s   € ÷ ñ œ$ñ r'   c                 óv   € \         P                  P                  4       '       g   \        RR4       \	        4       # )z=Deprecated: Use `kornia.core.utils.xla_is_available` instead.r   z"kornia.core.utils.xla_is_available)r2   r5   r6   r+   Ú_xla_is_available© r'   r%   r   r   „   s*   € ä�9‰9×!Ñ!×#Ò#ÜÐ Ð"FÔGÜÓÐr'   c                óÔ   € V ^8„  d   QhR\         R\         R\        R\        \        P                  ,          R\        \        P
                  ,          R\        R\        P                  /# )r   ÚheightÚwidthÚnormalized_coordinatesÚdeviceÚdtypeÚalign_cornersr!   ©r1   r#   r   r2   rF   rG   r3   )r$   s   "r%   r&   r&   ‹   sm   € ÷ añ aÜðaäðaô !ðaô ”U—\‘\Õ"ð	aô
 ”E—K‘KÕ ðaô ðaô ‡\�\ñar'   c                ó|   € \         P                  P                  4       '       g   \        RR4       \	        WW#WE4      # )z:Deprecated: Use `kornia.geometry.create_meshgrid` instead.r   zkornia.geometry.create_meshgrid)r2   r5   r6   r+   Ú_create_meshgrid)rC   rD   rE   rF   rG   rH   s   &&&&&&r%   r   r   ‹   s3   € ô �9‰9×!Ñ!×#Ò#ÜÐÐ!BÔCÜ˜FÐ+AÈ5Ó`Ð`r'   c                óP   € V ^8„  d   QhR\         R\        R\        P                  /# )r   ÚimageÚkeepdimr!   )r   r#   r2   r3   )r$   s   "r%   r&   r&   ™   s%   € ÷ ,ñ ,œ3ð ,¬ð ,¼¿¹ñ ,r'   c                óx   € \         P                  P                  4       '       g   \        RR4       \	        W4      # )z7Deprecated: Use `kornia.image.image_to_tensor` instead.r   zkornia.image.image_to_tensor)r2   r5   r6   r+   Ú_image_to_tensor)rM   rN   s   &&r%   r   r   ™   s,   € ä�9‰9×!Ñ!×#Ò#ÜÐÐ!?Ô@Ü˜EÓ+Ð+r'   c                ó\   € V ^8„  d   QhR\         P                  R\        R\        R\        /# )r   r9   rN   Úforce_contiguousr!   )r2   r3   r#   r   )r$   s   "r%   r&   r&       s.   € ÷ ?ñ ?œEŸL™Lð ?´4ð ?ÔSWð ?Ôdgñ ?r'   c                óz   € \         P                  P                  4       '       g   \        RR4       \	        WV4      # )z7Deprecated: Use `kornia.image.tensor_to_image` instead.r   zkornia.image.tensor_to_image)r2   r5   r6   r+   Ú_tensor_to_image)r9   rN   rR   s   &&&r%   r   r       s/   € ä�9‰9×!Ñ!×#Ò#ÜÐÐ!?Ô@Ü˜FÐ-=Ó>Ð>r'   c                óD   € V ^8„  d   QhR\         R\        P                  /# )r   Úindexr!   )r1   r2   rF   )r$   s   "r%   r&   r&   §   s   € ÷ 0ñ 0¬ð 0´E·L±Lñ 0r'   c                óx   € \         P                  P                  4       '       g   \        RR4       \	        V 4      # )zIDeprecated: Use `kornia.core.utils.get_cuda_device_if_available` instead.r
   z.kornia.core.utils.get_cuda_device_if_available)r2   r5   r6   r+   Ú_get_cuda_device_if_available)rV   s   &r%   r
   r
   §   s,   € ä�9‰9×!Ñ!×#Ò#ÜÐ,Ð.^Ô_Ü(¨Ó/Ð/r'   c                ó8   € V ^8„  d   QhR\         P                  /# r=   ©r2   rF   )r$   s   "r%   r&   r&   ®   s   € ÷ *ñ *¤U§\¡\ñ *r'   c                 óv   € \         P                  P                  4       '       g   \        RR4       \	        4       # )zHDeprecated: Use `kornia.core.utils.get_mps_device_if_available` instead.r   z-kornia.core.utils.get_mps_device_if_available)r2   r5   r6   r+   Ú_get_mps_device_if_availablerA   r'   r%   r   r   ®   s*   € ä�9‰9×!Ñ!×#Ò#ÜÐ+Ð-\Ô]Ü'Ó)Ð)r'   c                ó8   € V ^8„  d   QhR\         P                  /# r=   rZ   )r$   s   "r%   r&   r&   µ   s   € ÷ 2ñ 2¬U¯\©\ñ 2r'   c                 óv   € \         P                  P                  4       '       g   \        RR4       \	        4       # )zPDeprecated: Use `kornia.core.utils.get_cuda_or_mps_device_if_available` instead.r   z5kornia.core.utils.get_cuda_or_mps_device_if_available)r2   r5   r6   r+   Ú$_get_cuda_or_mps_device_if_availablerA   r'   r%   r   r   µ   s*   € ä�9‰9×!Ñ!×#Ò#ÜÐ3Ð5lÔmÜ/Ó1Ð1r'   c                ó0   € V ^8„  d   QhR\         R\         /# )r   Úbothr!   r>   )r$   s   "r%   r&   r&   ¼   s   € ÷ &ñ &œdð &¬dñ &r'   c                óx   € \         P                  P                  4       '       g   \        RR4       \	        V 4      # )z@Deprecated: Use `kornia.core.utils.is_autocast_enabled` instead.r   z%kornia.core.utils.is_autocast_enabled)r2   r5   r6   r+   Ú_is_autocast_enabled)ra   s   &r%   r   r   ¼   s,   € ä�9‰9×!Ñ!×#Ò#ÜÐ#Ð%LÔMÜ Ó%Ð%r'   c                óÔ   € V ^8„  d   QhR\         R\         R\         R\        R\        \        P                  ,          R\        \        P
                  ,          R\        P                  /# )r   ÚdepthrC   rD   rE   rF   rG   r!   rI   )r$   s   "r%   r&   r&   Ã   sm   € ÷ [ñ [Üð[äð[ô ð[ô !ð	[ô
 ”U—\‘\Õ"ð[ô ”E—K‘KÕ ð[ô ‡\�\ñ[r'   c                ó€   € \         P                  P                  4       '       g   \        RRRR7       \	        WW#WE4      # )zjDeprecated: Use `kornia.geometry.create_meshgrid3d` instead (previously `kornia.utils.create_meshgrid3d`).r   z!kornia.geometry.create_meshgrid3dT©r    )r2   r5   r6   r+   Ú_create_meshgrid3d)re   rC   rD   rE   rF   rG   s   &&&&&&r%   r   r   Ã   s5   € ô �9‰9×!Ñ!×#Ò#ÜÐ!Ð#FÐ\`ÕaÜ˜e¨UÈFÓZÐZr'   c                ó¦   € V ^8„  d   QhR\         \        P                  \         ,          ,          R\        \        ,          R\
        P                  /# )r   ÚfilenameÚheader_sizer!   )r"   ÚosÚPathLiker   r1   r2   r3   )r$   s   "r%   r&   r&   Ñ   s;   € ÷ 7ñ 7¤#¬¯©´CÕ(8Õ"8ð 7ÄxÔPSÅ}ð 7Ô`e×`lÑ`lñ 7r'   c                ó|   € \         P                  P                  4       '       g   \        RRRR7       \	        W4      # )znDeprecated: Use `kornia.geometry.load_pointcloud_ply` instead (previously `kornia.utils.load_pointcloud_ply`).r   z#kornia.geometry.load_pointcloud_plyTrg   )r2   r5   r6   r+   Ú_load_pointcloud_ply)rj   rk   s   &&r%   r   r   Ñ   s/   € ä�9‰9×!Ñ!×#Ò#ÜÐ#Ð%JÐ`dÕeÜ Ó6Ð6r'   c                óˆ   € V ^8„  d   QhR\         \        P                  \         ,          ,          R\        P                  RR/# )r   rj   Ú
pointcloudr!   N)r"   rl   rm   r2   r3   )r$   s   "r%   r&   r&   Ø   s4   € ÷ 6ñ 6¤#¬¯©´CÕ(8Õ"8ð 6ÄeÇlÁlð 6ÐW[ñ 6r'   c                ó|   € \         P                  P                  4       '       g   \        RRRR7       \	        W4      # )znDeprecated: Use `kornia.geometry.save_pointcloud_ply` instead (previously `kornia.utils.save_pointcloud_ply`).r   z#kornia.geometry.save_pointcloud_plyTrg   )r2   r5   r6   r+   Ú_save_pointcloud_ply)rj   rq   s   &&r%   r   r   Ø   s/   € ä�9‰9×!Ñ!×#Ò#ÜÐ#Ð%JÐ`dÕeÜ Ó5Ð5r'   c          
      ó¸   € V ^8„  d   QhR\         P                  R\         P                  R\         P                  R\         P                  R\         P                  /# )r   rM   Úp1Úp2Úcolorr!   ©r2   r3   )r$   s   "r%   r&   r&   ß   sF   € ÷ ,ñ ,”U—\‘\ð ,¤u§|¡|ð ,¼¿¹ð ,ÌeÏlÉlð ,Ô_d×_kÑ_kñ ,r'   c                ó~   € \         P                  P                  4       '       g   \        RRRR7       \	        WW#4      # )zWDeprecated: Use `kornia.image.draw_line` instead (previously `kornia.utils.draw_line`).r   zkornia.image.draw_lineTrg   )r2   r5   r6   r+   Ú
_draw_line)rM   ru   rv   rw   s   &&&&r%   r   r   ß   s/   € ä�9‰9×!Ñ!×#Ò#ÜˆkÐ3ÈÕNÜ�e Ó+Ð+r'   c                óÜ   € V ^8„  d   QhR\         P                  R\         P                  R\        \         P                  ,          R\        \        ,          R\        R\         P                  /# )r   rM   Ú	rectanglerw   ÚfillÚ
line_widthr!   )r2   r3   r   r#   r1   )r$   s   "r%   r&   r&   æ   se   € ÷ 
Fñ 
FÜ�<‰<ð
Fä�|‰|ð
Fô ”E—L‘LÕ!ð
Fô ”4�.ð	
Fô
 ð
Fô ‡\�\ñ
Fr'   c                ó€   € \         P                  P                  4       '       g   \        RRRR7       \	        WW#V4      # )zaDeprecated: Use `kornia.image.draw_rectangle` instead (previously `kornia.utils.draw_rectangle`).r   zkornia.image.draw_rectangleTrg   )r2   r5   r6   r+   Ú_draw_rectangle)rM   r|   rw   r}   r~   s   &&&&&r%   r   r   æ   s5   € ô �9‰9×!Ñ!×#Ò#ÜÐÐ =ÐSWÕXÜ˜5¨U¸*ÓEÐEr'   c                ó˜   € V ^8„  d   QhR\         P                  R\         P                  R\         P                  R\         P                  /# )r   rM   Úpointsrw   r!   rx   )r$   s   "r%   r&   r&   ó   s;   € ÷ /ñ /œŸ™ð /¬e¯l©lð /Ä5Ç<Á<ð /ÔTY×T`ÑT`ñ /r'   c                ó~   € \         P                  P                  4       '       g   \        RRRR7       \	        WV4      # )z]Deprecated: Use `kornia.image.draw_point2d` instead (previously `kornia.utils.draw_point2d`).r   zkornia.image.draw_point2dTrg   )r2   r5   r6   r+   Ú_draw_point2d)rM   r‚   rw   s   &&&r%   r   r   ó   s/   € ä�9‰9×!Ñ!×#Ò#ÜˆnÐ9ÈtÕTÜ˜¨Ó.Ð.r'   c                óä   € V ^8„  d   QhR\         P                  R\        \         P                  \        \         P                  ,          3,          R\         P                  R\         P                  /# )r   ÚimagesÚpolygonsÚcolorsr!   )r2   r3   r   r   )r$   s   "r%   r&   r&   ú   sQ   € ÷ :ñ :Ü�L‰Lð:Ü$)¬%¯,©,¼¼U¿\¹\Õ8JÐ*JÕ$Kð:ÜUZ×UaÑUað:ä
‡\�\ñ:r'   c                ó~   € \         P                  P                  4       '       g   \        RRRR7       \	        WV4      # )zkDeprecated: Use `kornia.image.draw_convex_polygon` instead (previously `kornia.utils.draw_convex_polygon`).r   z kornia.image.draw_convex_polygonTrg   )r2   r5   r6   r+   Ú_draw_convex_polygon)r†   r‡   rˆ   s   &&&r%   r   r   ú   s3   € ô �9‰9×!Ñ!×#Ò#ÜÐ#Ð%GÐ]aÕbÜ °&Ó9Ð9r'   c                óP   € V ^8„  d   QhR\         P                  R\        R\        /# )r   rM   Ú	max_widthr!   )r2   r3   r1   r"   )r$   s   "r%   r&   r&     s%   € ÷ .ñ .œ5Ÿ<™<ð .´Cð .Ä#ñ .r'   c                ó|   € \         P                  P                  4       '       g   \        RRRR7       \	        W4      # )zcDeprecated: Use `kornia.image.image_to_string` instead (previously `kornia.utils.image_to_string`).r   zkornia.image.image_to_stringTrg   )r2   r5   r6   r+   Ú_image_to_string©rM   rŒ   s   &&r%   r   r     s/   € ä�9‰9×!Ñ!×#Ò#ÜÐÐ!?ÐUYÕZÜ˜EÓ-Ð-r'   c                óˆ   € V ^8„  d   QhR\         \        \        P                  \        P
                  3,          R\        RR/# )r   rM   rŒ   r!   N)r   r"   rl   rm   r2   r3   r1   )r$   s   "r%   r&   r&   
  s6   € ÷ *ñ *”uœS¤"§+¡+¬u¯|©|Ð;Õ<ð *Ìð *ÐVZñ *r'   c                ó|   € \         P                  P                  4       '       g   \        RRRR7       \	        W4      # )z[Deprecated: Use `kornia.image.print_image` instead (previously `kornia.utils.print_image`).r   zkornia.image.print_imageTrg   )r2   r5   r6   r+   Ú_print_imager�   s   &&r%   r   r   
  s-   € ä�9‰9×!Ñ!×#Ò#ÜˆmÐ7ÈTÕRÜ˜Ó)Ð)r'   c                ó°   € V ^8„  d   QhR\         P                  R\        R\         P                  R\         P                  R\
        R\         P                  /# )r   ÚlabelsÚnum_classesrF   rG   Úepsr!   )r2   r3   r1   rF   rG   Úfloat)r$   s   "r%   r&   r&     sL   € ÷ =ñ =Ü�L‰Lð=Ü'*ð=Ü49·L±Lð=ÜINÏÉð=Ü[`ð=ä
‡\�\ñ=r'   c                ó€   € \         P                  P                  4       '       g   \        RRRR7       \	        WW#V4      # )zTDeprecated: Use `kornia.losses.one_hot` instead (previously `kornia.utils.one_hot`).r   zkornia.losses.one_hotTrg   )r2   r5   r6   r+   Ú_one_hot)r”   r•   rF   rG   r–   s   &&&&&r%   r   r     s3   € ô �9‰9×!Ñ!×#Ò#ÜˆiÐ0ÀdÕKÜ�F¨¸Ó<Ð<r'   )r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r	   r   )F)TNNT)T)FF)é    )TNN)N)NNé   )é   )é`   )g        )9Ú__doc__rl   Útypingr   r   r   r   r2   Úkornia.core._compatr   Úkornia.core.opsr   r7   r	   r;   Úkornia.core.utilsr
   rX   r   r_   r   r\   r   rc   r   r@   Úkornia.geometryr   rK   r   rh   r   ro   r   rs   Úkornia.imager   rŠ   r   rz   r   r„   r   r€   r   rŽ   r   rP   r   r’   r   rT   Úkornia.losses.one_hotr   r™   Ú__all__r+   rA   r'   r%   Ú<module>r§      sô   ðñ&ó 
ß -Ó -ã å 9Ý 1Ý 1õõõõõõõõõõõõõõõõõõ 6ò€÷0W÷.÷/õ÷a÷,÷?÷0õ*õ2÷&÷[÷7õ6õ,÷
Fõ/õ:÷.÷*÷=ñ =r'   