+
    õäûj9{  ã                   ó¬  a € R t,0 t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHtHtHtHtHt ^ RIt^ RIHt ^ RIHt ^ R	IHtHt ^ R
IHtHt ^ RIHtHtHt ^ RIH t  ^ RI!H"t" RR R llt#]]PH                  ]]PH                  ]PH                  3,          3,          t%]&! 4       t'] ^ k R R lt( ! R R]PR                  4      t* ! R R]*4      t+R# )é    N)ÚEnum)Úupdate_wrapper)Úgetattr_static)ÚFunctionType)ÚAnyÚCallableÚDictÚOptionalÚTupleÚUnion)Únn)ÚRandomGeneratorBase)Ú_transform_output_shapeÚoverride_parameters)Ú_constant_tensorÚ_detach_recorded_graph_tensors)Ú_to_device_nonblockingÚis_autocast_enabledÚis_exporting)ÚBoxes)Ú	Keypointsc                ó|   € V ^8„  d   QhR\         \        R3,          R\         \        R3,          R\        R\        /# )é   Úinput_shape.Úoutput_shapeÚinverseÚreturn)r   ÚintÚboolÚ
ValueError)Úformats   "ÚTC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\kornia\augmentation\base.pyÚ__annotate__r#   '   s<   € ÷ ñ Ü”s˜C�x•ðÜ05´c¸3°hµðÜJNðäñó    c           
     óh   € V'       d   RMRp\        RV R\        V 4       R\        V4       R24      # )ak  Build the error for a per-row gate on an augmentation that changes the sample shape.

A batch can only hold one sample shape, so the rows the gate skips cannot keep their own shape next to the
rows it applies to. ``inverse`` names the inverse call, which maps the output shape back to the input shape.
See `#4497 <https://github.com/kornia/kornia/issues/4497>`_.
z the inverse of this augmentationzthis augmentationz1`batch_prob` mixes applied and skipped rows, but z changes the sample shape from z to za, so the skipped rows cannot keep their shape. Pass a `batch_prob` that is all ones or all zeros.)r    Útuple)r   r   r   Úsubjects   &&& r"   Ú_mixed_gate_shape_errorr(   '   sG   € ÷ 5<Ñ0ÐAT€GÜØ
;¸G¸9ÐDcÜ�ÓÐ
˜d¤5¨Ó#6Ð"7ð 8=ð	=óð r$   c                ód   € V ^8„  d   QhR\         P                  R\        R\        P                  /# )r   ÚselfÚinputr   )r   ÚModuler   ÚtorchÚTensor)r!   s   "r"   r#   r#   B   s.   € ÷ vñ v¬¯©ð v¼Cð vÄEÇLÁLñ vr$   c                óF   € \        R\        V 4      P                   R24      h)zYDefine the computation performed at every call.

Should be overridden by all subclasses.
znn.Module [z3] is missing the required "apply_tranform" function)ÚNotImplementedErrorÚtypeÚ__name__©r*   r+   s   &*r"   Ú_apply_transform_unimplementedr4   B   s$   € ô
  ¬D°«J×,?Ñ,?Ð+@Ð@sÐtÓ
uÐur$   c                   óä  a a€ ] tR t^Jt oRtRtV3R lV 3R llt]V3R lR l4       tR1V3R lV 3R lllt	]
tV3R	 lV 3R
 lltV3R lV 3R lltV3R lV 3R lltV3R lR ltV3R lR ltRRRR/V3R lR lltV3R lR ltV3R lR ltV3R lR ltV3R lR ltV3R  lR! ltR"]R#]R$]/V3R% lR& lltR2V3R' lR( lltV3R) lR* ltV3R+ lR, ltR3V3R- lR. lltV3R/ ltR0tVtV ;t # )4Ú_BasicAugmentationBaseaA  _BasicAugmentationBase base class for customized augmentation implementations.

Plain augmentation base class without the functionality of transformation matrix calculations.

See the Convention block on :class:`~kornia.augmentation.AugmentationBase2D`.

For automatically generating the corresponding ``__repr__`` with full customized parameters, you may need to
implement ``_param_generator`` by inheriting ``RandomGeneratorBase`` for generating random parameters and
put all static parameters inside ``self.flags``. You may take the advantage of ``PlainUniformGenerator`` to
generate simple uniform parameters with less boilerplate code.

Args:
    p: probability for applying an augmentation. This param controls the augmentation probabilities element-wise.
    p_batch: probability for applying an augmentation to a batch. This param controls the augmentation
      probabilities batch-wise.
    same_on_batch: apply the same transformation across the batch.
    keepdim: whether to keep the output shape the same as input ``True`` or broadcast it to
      the batch form ``False``.

Tc                ó$   <€ V ^8„  d   QhRS[ RR/# )r   Úkwargsr   N©r   )r!   Ú__classdict__s   "€r"   r#   Ú#_BasicAugmentationBase.__annotate__e   s   ø€ ÷  ñ  ©ð  °ñ  r$   c                óê  <€ \         SV `  ! R/ VB  \        V R 4      pR V P                  9  dÅ   \	        V\
        4      '       d­   VP                  P                  V P                   R2V P                   R2R7      p\        W2P                  R VP                  VP                  4      p\        WB4       VP                  Vn        V P                   R2Vn	        V P                  Vn        W@n        R# R# R# )Úforwardz.forward)Úco_nameÚco_qualnameN© )ÚsuperÚ__init_subclass__r   Ú__dict__Ú
isinstancer   Ú__code__Úreplacer2   Ú__qualname__Ú__globals__Ú__defaults__Ú__closure__r   Ú__kwdefaults__Ú
__module__r=   )Úclsr8   r=   ÚcodeÚcloneÚ	__class__s   &,   €r"   rB   Ú(_BasicAugmentationBase.__init_subclass__e   sÞ   ø€ Ü‰Ò!Ñ+ FÒ+ô !  iÓ0ˆØ˜CŸL™LÔ(¬Z¸Ä×-NÒ-NØ×#Ñ#×+Ñ+ØŸ<™<˜.¨Ð1À#×BRÑBRÐASÐS[Ð?\ð ,ó ˆDô ! ×':Ñ':¸IÀw×G[ÑG[Ð]d×]pÑ]pÓqˆEÜ˜5Ô*Ø#*×#9Ñ#9ˆEÔ Ø$'×$4Ñ$4Ð#5°XÐ!>ˆEÔØ"Ÿ~™~ˆEÔØŽKñ .OÑ(r$   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   )r   )r!   r:   s   "€r"   r#   r;   z   s   ø€ ÷ *ñ *™Dñ *r$   c                ó,   € \        V P                  4      # )zËThe class-level ``ONNX_EXPORTABLE`` flag, ``True`` unless a subclass sets it.

Nothing in kornia reads the flag, and it makes no statement about whether, or with which exporter, an
augmentation exports.
)r   ÚONNX_EXPORTABLE)r*   s   &r"   Ú
exportableÚ!_BasicAugmentationBase.exportabley   s   € ô �D×(Ñ(Ó)Ð)r$   c          
      ó6   <€ V ^8„  d   QhRS[ RS[ RS[RS[RR/# )r   ÚpÚp_batchÚsame_on_batchÚkeepdimr   N)Úfloatr   )r!   r:   s   "€r"   r#   r;   ‚   sD   ø€ ÷ Vñ VáðVñ ðVñ ð	Vñ
 ðVð 
ñVr$   c                óð   <€ \         SV `  4        Wn        W n        W0n        W@n        / V n        R V n        / V n        V P                  \        P                  ! R4      \        P                  ! 4       4       R # )NÚcpu)rA   Ú__init__rY   rZ   r[   r\   Ú_paramsÚ_param_generatorÚflagsÚset_rng_device_and_dtyper-   ÚdeviceÚget_default_dtype)r*   rY   rZ   r[   r\   rP   s   &&&&&€r"   r`   Ú_BasicAugmentationBase.__init__‚   s]   ø€ ô 	‰ÑÔØŒØŒØ*ÔØŒØ02ˆŒØ?CˆÔØ%'ˆŒ
Ø×%Ñ%¤e§l¢l°5Ó&9¼5×;RÒ;RÓ;TÖUr$   c                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# )r   Úargsr8   r   r6   r9   )r!   r:   s   "€r"   r#   r;   •   s#   ø€ ÷ +ñ +™ð +¡sð +Ð/Gñ +r$   c                ó$   <€ \         SV `  ! V/ VB # )z9Set the device and dtype for the random number generator.)rA   Úto)r*   ri   r8   rP   s   &*,€r"   rk   Ú_BasicAugmentationBase.to•   s   ø€ ô ‰wŠz˜4Ð* 6Ñ*Ð*r$   c                óp   <€ V ^8„  d   QhRS[ S[P                  .S[P                  3,          RS[RS[RR/# )r   Úfnri   r8   r   r6   )r   r-   r.   r   )r!   r:   s   "€r"   r#   r;   š   s?   ø€ ÷ ñ ™¡5§<¡< .±%·,±,Ð">Õ?ð Éð ÑWZð Ð_wñ r$   c                ó*  <€ \         SV `  ! V.VO5/ VB pV! \        P                  ! RV P                  V P
                  R 7      4      pVP                  4       '       d   VP
                  MV P
                  pV P                  VP                  V4       V# )©re   Údtyper@   )rA   Ú_applyr-   Úzerosre   rq   Úis_floating_pointrd   )r*   rn   ri   r8   ÚoutÚproberq   rP   s   &&*,   €r"   rr   Ú_BasicAugmentationBase._applyš   sr   ø€ ô ‰gŠn˜RÐ1 $Ò1¨&Ñ1ˆÙ”5—;’;˜r¨$¯+©+¸T¿Z¹ZÔHÓIˆØ$×6Ñ6×8Ò8�—’¸d¿j¹jˆØ×%Ñ% e§l¡l°EÔ:Øˆ
r$   c                ó6   <€ V ^8„  d   QhRS[ S[S[3,          /# rS   )r	   Ústrr   )r!   r:   s   "€r"   r#   r;   £   s   ø€ ÷ Fñ F™d¡3© 8�nñ Fr$   c                ó2   <€ \        \        SV `	  4       4      # ©N)r   rA   Ú__getstate__)r*   rP   s   &€r"   r|   Ú#_BasicAugmentationBase.__getstate__£   s   ø€ ô .¬e©gÑ.BÓ.DÓEÐEr$   c                ó    <€ V ^8„  d   QhRS[ /# rS   )ry   )r!   r:   s   "€r"   r#   r;   ¨   s   ø€ ÷ 	3ñ 	3™#ñ 	3r$   c                óÒ  € R V P                    RV P                   RV P                   2p\        V P                  \
        4      '       d   V P                  : RV 2pV P                  P                  4        FS  w  r#\        V\        4      '       d*   VRV RVP                  P                  4        2,          pKD  VRV RV 2,          pKU  	  V P                  P                   RV R2# )zp=z
, p_batch=z, same_on_batch=z, Ú=Ú(Ú))rY   rZ   r[   rD   rb   r   rc   Úitemsr   ÚnameÚlowerrP   r2   )r*   ÚtxtÚkÚvs   &   r"   Ú__repr__Ú_BasicAugmentationBase.__repr__¨   sÓ   € Ø�4—6‘6�(˜* T§\¡\ NÐ2BÀ4×CUÑCUÐBVÐWˆÜ�d×+Ñ+Ô-@×AÒAØ×*Ñ*Ñ-¨R°¨uÐ5ˆCØ—J‘J×$Ñ$Ö&‰DˆAÜ˜!œT×"Ò"Ø˜˜A˜3˜a §¡§¡£Ð/Ð0Õ0’à˜˜A˜3˜a ˜s�|Õ#’ñ	 'ð
 —.‘.×)Ñ)Ð*¨!¨C¨5°Ð2Ð2r$   c                óN   <€ V ^8„  d   QhRS[ P                  RS[ P                  /# )r   r+   r   ©r-   r.   )r!   r:   s   "€r"   r#   r;   ³   s#   ø€ ÷ ñ ¡e§l¡lð ±u·|±|ñ r$   c                ó   € V# r{   r@   r3   s   &&r"   Ú__unpack_input__Ú'_BasicAugmentationBase.__unpack_input__³   s   € Øˆr$   ÚshapeNÚmatch_channelc                ó~   <€ V ^8„  d   QhRS[ P                  RS[S[ P                  ,          RS[RS[ P                  /# )r   r+   r�   r‘   r   )r-   r.   r
   r   )r!   r:   s   "€r"   r#   r;   ¶   sD   ø€ ÷ "ñ "á�|‰|ð"ñ ™Ÿ™Õ%ð	"ñ
 ð"ñ 
�‰ñ"r$   c               ó   € \         h)zStandardize input tensors.©r0   )r*   r+   r�   r‘   s   &&$$r"   Útransform_tensorÚ'_BasicAugmentationBase.transform_tensor¶   ó
   € ô "Ð!r$   c                ó8   <€ V ^8„  d   QhRS[ P                  RR/# )r   r+   r   NrŒ   )r!   r:   s   "€r"   r#   r;   À   s   ø€ ÷ "ñ "¡U§\¡\ð "°dñ "r$   c                ó   € \         h)z9Check if the input torch.Tensor is formatted as expected.r”   r3   s   &&r"   Úvalidate_tensorÚ&_BasicAugmentationBase.validate_tensorÀ   s   € ä!Ð!r$   c                óh   <€ V ^8„  d   QhRS[ P                  RS[S[R3,          RS[ P                  /# )r   Úoutputr   .r   )r-   r.   r   r   )r!   r:   s   "€r"   r#   r;   Ä   s=   ø€ ÷ Yñ Y©e¯l©lð YÉ%ÑPSÐUXÐPXÍ/ð YÑ^c×^jÑ^jñ Yr$   c                ó@   € V P                   '       d   \        W4      # T# )zStandardize output tensors.)r\   r   )r*   r�   r   s   &&&r"   Útransform_output_tensorÚ._BasicAugmentationBase.transform_output_tensorÄ   s   € à@DÇÇÀÔ& vÓ<ÐXÐRXÐXr$   c                ód   <€ V ^8„  d   QhRS[ S[R3,          RS[S[S[P
                  3,          /# ©r   Úbatch_shape.r   ©r   r   r	   ry   r-   r.   )r!   r:   s   "€r"   r#   r;   È   s1   ø€ ÷ ñ ©u±S¸#°X­ð Á4ÉÉUÏ\É\ÐHYÕCZñ r$   c                óX   € V P                   e   V P                  WP                  4      # / # r{   )rb   r[   )r*   r£   s   &&r"   Úgenerate_parametersÚ*_BasicAugmentationBase.generate_parametersÈ   s*   € Ø× Ñ Ò,Ø×(Ñ(¨×6HÑ6HÓIÐIØˆ	r$   c                óR   <€ V ^8„  d   QhRS[ P                  RS[ P                  RR/# )r   re   rq   r   N)r-   re   rq   )r!   r:   s   "€r"   r#   r;   Í   s0   ø€ ÷ Jñ J©u¯|©|ð JÁEÇKÁKð JÐTXñ Jr$   c                ót   € Wn         W n        V P                  e   V P                  P                  W4       R# R# )a·  Change the random generation device and dtype.

Note:
    The generated random numbers are not reproducible across different devices and dtypes.

.. warning::
    This updates both the gate and the parameter generator's samplers, but returned parameters
    can be cast to a different device/dtype; inspecting ``_params`` alone does not reveal where
    sampling occurred. Some generators also retain internal CPU tensors or ignore the requested
    precision, and some generator/device combinations can still fail during forward. Tracked in
    `#4426 <https://github.com/kornia/kornia/issues/4426>`_; the :doc:`/get-started/conventions`
    page describes placement and the affected classes.

N)re   rq   rb   rd   )r*   re   rq   s   &&&r"   rd   Ú/_BasicAugmentationBase.set_rng_device_and_dtypeÍ   s3   € ð ŒØŒ
Ø× Ñ Ò,Ø×!Ñ!×:Ñ:¸6ÖIñ -r$   c          
      ó`   <€ V ^8„  d   QhRS[ S[R3,          RS[RS[RS[RS[P
                  /# )r   r£   .rY   rZ   r[   r   )r   r   r]   r   r-   r.   )r!   r:   s   "€r"   r#   r;   á   sI   ø€ ÷ 'ñ 'á™3 ˜8•_ð'ñ ð'ñ ð	'ñ
 ð'ñ 
�‰ñ'r$   c                ó�  € \         P                  ! 4       pV\         P                  8X  d,   V P                  P                  R 8X  d   \         P
                  pV^8X  d/   \         P                  ! ^V P                  V P                  R7      pMtV^ 8X  d/   \         P                  ! ^V P                  V P                  R7      pM?\         P                  ! ^V P                  VR7      V8  P                  V P                  4      pV^8X  d6   \         P                  ! V^ ,          V P                  V P                  R7      pMàV^ 8X  d6   \         P                  ! V^ ,          V P                  V P                  R7      pM¤V'       dW   \         P                  ! ^V P                  VR7      V8  P                  V P                  4      P                  V^ ,          4      pMF\         P                  ! V^ ,          V P                  VR7      V8  P                  V P                  4      pWg,          p\        VP                  4      ^8X  d
   VR,          # V# )Úmpsrp   ).r   )r-   rf   Úfloat64re   r1   Úfloat32Úonesrq   rs   Úrandrk   ÚexpandÚlenr�   )r*   r£   rY   rZ   r[   Ú
rand_dtypeÚ
batch_probÚ	elem_probs   &&&&&   r"   Ú__batch_prob_generator__Ú/_BasicAugmentationBase.__batch_prob_generator__á   s–  € ô ×,Ò,Ó.ˆ
ØœŸ™Ô&¨4¯;©;×+;Ñ+;¸uÔ+DÜŸ™ˆJà�aŒ<ÜŸš A¨d¯k©kÀÇÁÔL‰JØ˜Œ\ÜŸš Q¨t¯{©{À$Ç*Á*ÔM‰JäŸ*š* Q¨t¯{©{À*ÔMÐPWÑW×[Ñ[Ð\`×\fÑ\fÓgˆJð
 �Œ6ÜŸ
š
 ;¨q¥>¸$¿+¹+ÈTÏZÉZÔX‰IØ�!ŒVÜŸš K°¥N¸4¿;¹;ÈdÏjÉjÔY‰IßÜŸš A¨d¯k©kÀÔLÈqÑP×TÑTÐUY×U_ÑU_Ó`×gÑgÐhsÐtuÕhvÓw‰IäŸš K°¥N¸4¿;¹;ÈjÔYÐ\]Ñ]×aÑaÐbf×blÑblÓmˆIð
  Õ+ˆ
äˆz×ÑÓ  AÔ%Ø˜fÕ%Ð%ØÐr$   ÚparamsÚtransform_matrixÚlazy_matrix_argsc                ó0   <€ V ^8„  d   QhRS[ RS[ RS[ RR/# )r   r¹   rº   r»   r   Nr9   )r!   r:   s   "€r"   r#   r;   
  s5   ø€ ÷ 6ñ 6ñ ð6ñ ð	6ñ
 ð6ð 
ñ6r$   c               óŽ   € \        4       '       d   R# V\        Jd   Wn        V\        Jd   W n        V\        Jd	   W0n        R# R# )u  Record per-call state on ``self`` for post-call retrieval.

Covers ``._params`` (and, on the rigid/affine subclass, ``.transform_matrix`` /
``_lazy_matrix_args``). This is the single writer of that state. It is skipped inside a
``torch.export`` capture, which rejects attribute mutation in ``forward``; the captured
image output is unchanged â€” only reading the state back afterwards (meaningless in an
exported graph) is skipped. Each field is written only when explicitly passed (``None`` is
a valid value, hence the ``_UNSET`` sentinel).
N)r   Ú_UNSETra   Ú_transform_matrixÚ_lazy_matrix_args)r*   r¹   rº   r»   s   &$$$r"   Ú_commit_stateÚ$_BasicAugmentationBase._commit_state
  s<   € ô  �>Š>ÙØœÓØ!ŒLØ¤6Ó)Ø%5Ô"Ø¤6Ó)Ø%5Ö"ñ *r$   c                óè   <€ V ^8„  d   QhRS[ S[S[S[P                  3,          ,          RS[ S[S[S[3,          ,          RS[RS[S[S[S[P                  3,          S[S[S[3,          3,          /# )r   r¹   rc   r8   r   )r
   r	   ry   r-   r.   r   r   )r!   r:   s   "€r"   r#   r;   #  ss   ø€ ÷ ñ á™™c¡5§<¡<Ð/Õ0Õ1ðñ ™™S¡#˜X�Õ'ðñ ð	ñ
 
‰t‘C™Ÿ™Ð%Õ&©©S±#¨X­Ð6Õ	7ñr$   c                óÌ  € VP                  R R4      pVf   V P                  MTpVf   V P                  MTpV FR  pWQ9  g   K  WR9  g   K  VR9  g   K  \        P                  ! \        V 4      P                   RV R2\        ^R7       KT  	  V'       d!   \        WRR7      pV P                  VR7       MV P                  VR7       \        WRR7      p\        W#RR7      pW3# )	Úsave_kwargsFz" got an unknown keyword argument 'zo'; it is ignored. Passing unknown keyword arguments is deprecated and will raise TypeError in a future release.)Ú
stacklevelT)Úin_place)r¹   )rÅ   Ú	data_keys)
Úgetra   rc   ÚwarningsÚwarnr1   r2   ÚFutureWarningr   rÁ   )r*   r¹   rc   r8   rÅ   Úkeys   &&&,  r"   Ú#_process_kwargs_to_params_and_flagsÚ:_BasicAugmentationBase._process_kwargs_to_params_and_flags#  sÚ   € ð —j‘j °Ó6ˆà!'¢�—’°VˆØ#šm�—
’
°ˆó ˆCØÖ  SÖ%5¸#ÐEaÖ:aÜ—’Ü˜D“z×*Ñ*Ð+Ð+MÈcÈUð Stð tä!Ø ÷	ñ ÷ Ü(¨À$ÔGˆFØ×Ñ fÐÕ-à×Ñ fÐÔ-Ü(¨À%ÔHˆFä# E¸EÔBˆØˆ}Ðr$   c                ód   <€ V ^8„  d   QhRS[ S[R3,          RS[S[S[P
                  3,          /# r¢   r¤   )r!   r:   s   "€r"   r#   r;   C  s1   ø€ ÷ 
ñ 
©e±C¸°H­oð 
Á$ÁsÉEÏLÉLÐGXÕBYñ 
r$   c                óú   € V P                  WP                  V P                  V P                  4      pV P	                  V4      pVf   / pW#R&   \        V\        P                  R7      pVP                  RV/4       V# )Nrµ   ©rq   Úforward_input_shape)	r·   rY   rZ   r[   r¦   r   r-   ÚlongÚupdate)r*   r£   rµ   ra   Ú
input_sizes   &&   r"   Úforward_parametersÚ)_BasicAugmentationBase.forward_parametersC  sp   € Ø×2Ñ2°;ÇÁÈÏÉÐVZ×VhÑVhÓiˆ
Ø×*Ñ*¨;Ó7ˆØŠ?ØˆGØ *�Ñô & k¼¿¹ÔDˆ
Ø�‰Ð-¨zÐ:Ô;Øˆr$   c                óš   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[ P                  /# )r   r+   r¹   rc   r   )r-   r.   r	   ry   r   )r!   r:   s   "€r"   r#   r;   O  sO   ø€ ÷ :ñ :¡§¡ð :±d¹3ÁÇÁÐ;LÕ6Mð :ÑVZÑ[^Ñ`cÐ[cÕVdð :Ñin×iuÑiuñ :r$   c                ó&   € V P                  WV4      # r{   )Úapply_transform)r*   r+   r¹   rc   s   &&&&r"   Ú
apply_funcÚ!_BasicAugmentationBase.apply_funcO  s   € Ø×#Ñ# E°5Ó9Ð9r$   c                ó”   <€ V ^8„  d   QhRS[ P                  RS[S[S[S[ P                  3,          ,          RS[RS[ P                  /# )r   r+   r¹   r8   r   )r-   r.   r
   r	   ry   r   )r!   r:   s   "€r"   r#   r;   R  sN   ø€ ÷  ]ñ  ]Ù—\‘\ð ]Ù+3±D¹¹e¿l¹lÐ9JÕ4KÕ+Lð ]Ù_bð ]á	�‰ñ ]r$   c                óº  € V P                  V4      pVP                  pV P                  V4      pVP                  pVf   V P                  V4      pRV9  d1   \        P
                  ! V^ ,          \        P                  R7      VR&   V P                  ! W P                  3/ VB w  r'V P                  WBV4      pV P                  '       d   V P                  W…4      # T# )au  Perform forward operations.

Args:
    input: the input torch.Tensor.
    params: the corresponding parameters for an operation.
        If None, a new parameter suite will be generated.
    **kwargs: key-value pairs to override the parameters and flags.

Note:
    By default, all the overwriting parameters in kwargs will not be recorded
    as in ``self._params``. If you wish it to be recorded, you may pass
    ``save_kwargs=True`` additionally. Only parameter overrides are recorded; flag overrides
    apply to this call and must be supplied again for replay. Unknown keywords emit ``FutureWarning``
    and are ignored.

rµ   rÒ   )rŽ   r�   r•   r×   r-   r°   r   rÎ   rc   rÜ   r\   rŸ   )	r*   r+   r¹   r8   Ú	in_tensorr   r£   rc   r�   s	   &&&,     r"   r=   Ú_BasicAugmentationBase.forwardR  s»   € ð& ×)Ñ)¨%Ó0ˆ	Ø—o‘oˆØ×)Ñ)¨)Ó4ˆ	Ø—o‘oˆØŠ>Ø×,Ñ,¨[Ó9ˆFà˜vÔ%Ü#(§:¢:¨k¸!­nÄEÇJÁJÔ#OˆF�<Ñ à×@Ò@ÀÏÉÑ^ÐW]Ñ^‰ˆà—‘ °EÓ:ˆØDHÇLÇLÀLˆt×+Ñ+¨FÓ@Ð\ÐV\Ð\r$   c                óN   <€ V ^8„  d   Qh/ S[ RS[P                  3,          ;R&   # )r   .rÛ   )r   r-   r.   )r!   r:   s   "€r"   r#   r;   J   s"   ø‡ ‚ ñR ˜c¡5§<¡<Ð/Õ0ÑQòS r$   )rÀ   rb   ra   r¿   re   rq   rc   r\   rY   rZ   r[   )ç      à?ç      ð?FF)NNr{   )!r2   rL   rG   Ú__firstlineno__Ú__doc__rU   rB   ÚpropertyrV   r`   r4   rÛ   rk   rr   r|   r‰   rŽ   r•   rš   rŸ   r¦   rd   r·   r¾   rÁ   rÎ   r×   rÜ   r=   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)rP   r:   s   @@r"   r6   r6   J   s'  ù‡ € ñð0 €O÷ ó  ð( ÷*ó ð*÷Võ Vð" 4R€O÷+ó +÷
ó ÷Fó F÷
	3ð 	3÷ð ð"ð )-ð	"ð
 #÷"ò "÷"ð "÷Yð Y÷ð ÷
Jð J÷('ð 'ðR6ð ð6ð !'ð	6ð
 !'÷6ò 6÷2ò ÷@
ð 
÷:ð :÷ ]ò  ]÷Q … r$   r6   c                   ó¶  a € ] tR tRt o RtRtR*V 3R lR lltR*V 3R lR llt]V 3R	 lR
 l4       t	V 3R lR lt
R*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR lltR*V 3R lR  lltR*V 3R! lR" lltR*V 3R# lR$ lltR*V 3R% lR& lltR*V 3R' lR( lltR)tV tR# )+Ú_AugmentationBaseiu  a|  _AugmentationBase base class for customized augmentation implementations.

Advanced augmentation base class with the functionality of transformation matrix calculations.

Args:
    p: probability for applying an augmentation. This param controls the augmentation probabilities
      element-wise for a batch.
    p_batch: probability for applying an augmentation to a batch. This param controls the augmentation
      probabilities batch-wise.
    same_on_batch: apply the same transformation across the batch.
    keepdim: whether to keep the output shape the same as input ``True`` or broadcast it
      to the batch form ``False``.

FNc          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# ©r   r+   r¹   rc   Ú	transformr   ©r-   r.   r	   ry   r   r
   )r!   r:   s   "€r"   r#   Ú_AugmentationBase.__annotate__ˆ  ód   ø€ ÷ "ñ "á�|‰|ð"ñ ‘S™%Ÿ,™,Ð&Õ'ð"ñ ‘C™�H�~ð	"ñ
 ™EŸL™LÕ)ð"ñ 
�‰ñ"r$   c                ó   € \         hr{   r”   ©r*   r+   r¹   rc   rð   s   &&&&&r"   rÛ   Ú!_AugmentationBase.apply_transformˆ  r—   r$   c          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# rï   rñ   )r!   r:   s   "€r"   r#   rò   ’  sd   ø€ ÷ 	ñ 	á�|‰|ð	ñ ‘S™%Ÿ,™,Ð&Õ'ð	ñ ‘C™�H�~ð		ñ
 ™EŸL™LÕ)ð	ñ 
�‰ñ	r$   c                ó   € V# r{   r@   rõ   s   &&&&&r"   Úapply_non_transformÚ%_AugmentationBase.apply_non_transform’  s	   € ð ˆr$   c                ó‚   <€ V ^8„  d   QhRS[ P                  RS[ P                  RS[ P                  RS[ P                  /# )r   ÚtransformedÚnot_transformedÚto_applyr   rŒ   )r!   r:   s   "€r"   r#   rò   ž  s=   ø€ ÷ =ñ =Ù—\‘\ð=Ù49·L±Lð=ÙLQÏLÉLð=á	�‰ñ=r$   c           	     óÀ  € V P                   VP                   8X  d‹   V P                   ^ ,          VP                   ^ ,          8X  db   \        VP                  ! R.^.\        V P                   4      ^,
          ,          O5!  V P                  4      p\
        P                  ! W0V4      # VP                  4       ^ 8X  d   V # \        VP                  4       4      pV'       dw   \        VP                  4       4      '       gX   V P                   R,          VP                   R,          8w  d/   \        VP                   R,          V P                   R,          4      hV'       d   V # T# )a  Select transformed vs non-transformed samples element-wise by ``to_apply``.

When the two branches share a shape this is a ``torch.where`` blend (onnx- and
fullgraph-friendly). Shape-changing augmentations (e.g. crop/resize) whose branches
differ in spatial size fall back to a Python branch on ``to_apply.any()``, which is
not onnx-exportable. Such a fallback cannot select rows, so a ``to_apply`` that mixes applied and skipped
rows raises ``ValueError`` instead of transforming the skipped rows too. An empty gate has no row to skip
and takes the transformed branch, so an empty batch gets the configured output size whatever ``p`` is.
:é   NNéÿÿÿÿ)r�   r   Úviewr³   re   r-   ÚwhereÚnumelr   ÚanyÚallr(   )rü   rý   rþ   Úto_apply_expandedÚ	apply_anys   &&&  r"   Ú_blend_by_probÚ _AugmentationBase._blend_by_prob�  s  € ð ×Ñ × 5Ñ 5Ô5¸+×:KÑ:KÈAÕ:NÐRZ×R`ÑR`ÐabÕRcÔ:cÜ 6Ø—’˜bÐH Q C¬3¨{×/@Ñ/@Ó+AÀAÕ+EÕ$FÓHÈ+×J\ÑJ\ó!Ðô —;’;Ð0¸ÓOÐOØ�>‰>Ó˜qÔ ØÐÜ˜Ÿ™›Ó(ˆ	ßœT (§,¡,£.×1Ò1°k×6GÑ6GÈÕ6KÈ×OdÑOdÐegÕOhÔ6hÜ)¨/×*?Ñ*?ÀÕ*CÀ[×EVÑEVÐWYÕEZÓ[Ð[ß'ˆ{Ð<¨_Ð<r$   c                ód   <€ V ^8„  d   QhRS[ S[S[P                  3,          RS[P                  /# )r   r¹   r   )r	   ry   r-   r.   )r!   r:   s   "€r"   r#   rò   ¶  s-   ø€ ÷ 
ñ 
™D¡¡e§l¡lÐ!2Õ3ð 
¹¿¹ñ 
r$   c                ó¶   € \         P                  ! VR,          R8„  4      pV P                  R8X  d(   V P                  R8X  d   \         P                  ! V4      # V# )a’  Return the per-sample ``to_apply`` mask that the label and ``inverse`` handlers blend with.

With static ``p == 1`` and ``p_batch == 1`` every sample is transformed, as on the image and matrix fast
paths, so a ``batch_prob`` in ``params`` is not consulted (#5585). The decision is static: eager and compiled
runs agree, and no handler synchronizes with the device. Skip samples by hand with ``p < 1``.
rµ   rã   rä   )r-   Ú
atleast_1drY   rZ   Ú	ones_like)r*   r¹   rþ   s   && r"   Ú_gateÚ_AugmentationBase._gate¶  sH   € ô ×#Ò# F¨<Õ$8¸3Ñ$>Ó?ˆØ�6‰6�SŒ=˜TŸ\™\¨SÔ0Ü—?’? 8Ó,Ð,Øˆr$   c                óÊ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[RS[ P                  /# ©r   r+   r¹   rc   rð   r8   r   rñ   )r!   r:   s   "€r"   r#   rò   Â  sv   ø€ ÷ (Vñ (Vá�|‰|ð(Vñ ‘S™%Ÿ,™,Ð&Õ'ð(Vñ ‘C™�H�~ð	(Vñ
 ™EŸL™LÕ)ð(Vñ ð(Vñ 
�‰ñ(Vr$   c                ó2  € V P                   ! Vf   V P                  MTV3/ VB w  r#VP                  pV P                  V4      pV P	                  V4       V P
                  R8X  d&   V P                  R8X  d   V P                  WrW4R7      pMÄ\        P                  ! VR,          R8„  4      p	Tp
V P                  '       dY   \        V	P                  ! R.^.VP                  ^,
          ,          O5!  VP                  4      p\        P                  ! W·R4      p
V P                  W¢W4R7      pV P!                  WrW4R7      pV P#                  WÍV	4      p\%        4       '       d   VP'                  VP(                  4      pV P*                  '       d   \-        W†4      # T# )Nrä   ©rð   rµ   rã   r  )rÎ   ra   r�   r•   rš   rY   rZ   rÛ   r-   r  ÚSUBSTITUTE_SKIPPED_SAMPLESr   r  Úndimre   r  rù   r	  r   r1   rq   r\   r   )r*   r+   r¹   rc   rð   r8   Ú	ori_shaperà   r�   rþ   Útransform_inputÚgateÚoutput_transformedÚoutput_not_transformeds   &&&&&,        r"   Útransform_inputsÚ"_AugmentationBase.transform_inputsÂ  sh  € ð ×@Ò@Ø"šNˆD�LŠL°¸ñ
ØAGñ
‰ˆð —K‘Kˆ	Ø×)Ñ)¨%Ó0ˆ	à×Ñ˜YÔ'à�6‰6�SŒ=˜TŸ\™\¨SÔ0ð ×)Ñ)¨)¸UÐ)ÓX‰Fä×'Ò'¨¨|Õ(<¸sÑ(BÓCˆHØ'ˆOØ×.×.Ð.Ü-¨h¯mªm¸BÐ.^À1À#ÈÏÉÐZ[ÕI[ÕB\Ó.^Ð`i×`pÑ`pÓq�Ü"'§+¢+¨d¸sÓ"C�Ø!%×!5Ñ!5°oÈuÐ!5Ó!jÐØ%)×%=Ñ%=¸iÐQVÐ%=Ó%lÐ"Ø×(Ñ(Ð);ÐU]Ó^ˆFä× Ò Ø—[‘[ §¡Ó-ˆFð >B¿\¿\¸\Ô& vÓ9ÐUÈvÐUr$   c                óÊ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[RS[ P                  /# r  rñ   )r!   r:   s   "€r"   r#   rò   ì  sv   ø€ ÷ (Qñ (Qá�|‰|ð(Qñ ‘S™%Ÿ,™,Ð&Õ'ð(Qñ ‘C™�H�~ð	(Qñ
 ™EŸL™LÕ)ð(Qñ ð(Qñ 
�‰ñ(Qr$   c                ó¤  € V P                   ! Vf   V P                  MTV3/ VB w  r#VR,          pV P                  V4      pVP                  pVR,          p	R p
VP	                  4       ^8X  dT   VP	                  4       ^8X  d?   VP                  ^ ,          VP                  ^ ,          8X  d   ^M^ p
VP                  V
4      pV P                  WRR7      pV P                  V4       V P                  W²W4R7      pV P                  W²W4R7      pV P                  WÍV4      pV P                  '       g   V# V
e   VP                  V
4      # \        WèV	R7      # )Nrµ   rÓ   F)r�   r‘   r  )Úreference_shape)rÎ   ra   r  r�   ÚdimÚ	unsqueezer•   rš   Úapply_transform_maskÚapply_non_transform_maskr	  r\   Úsqueezer   )r*   r+   r¹   rc   rð   r8   rµ   rþ   r  r�   Úchannel_dimrà   r  r  r�   s   &&&&&,         r"   Útransform_masksÚ!_AugmentationBase.transform_masksì  sC  € ð ×@Ò@Ø"šNˆD�LŠL°¸ñ
ØAGñ
‰ˆð ˜LÕ)ˆ
Ø—:‘:˜fÓ%ˆØ—K‘Kˆ	àÐ,Õ-ˆð
 &*ˆØ�9‰9‹;˜!Ô 
§¡Ó 0°AÔ 5Ø$Ÿ{™{¨1�~°×1AÑ1AÀ!Õ1DÔD™!È!ˆKØ—O‘O KÓ0ˆEà×)Ñ)¨%ÈEÐ)ÓRˆ	à×Ñ˜YÔ'à!×6Ñ6°yÈ%Ð6ÓeÐØ!%×!>Ñ!>¸yÐRWÐ!>Ó!mÐð ×$Ñ$Ð%7ÐQYÓZˆà�|�|ˆ|ØˆMØÒ"Ø—>‘> +Ó.Ð.Ü& vÈ%ÔPÐPr$   c                ó¢   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[RS[ /# r  ©r   r	   ry   r-   r.   r   r
   )r!   r:   s   "€r"   r#   rò     sf   ø€ ÷ "ñ "áð"ñ ‘S™%Ÿ,™,Ð&Õ'ð"ñ ‘C™�H�~ð	"ñ
 ™EŸL™LÕ)ð"ñ ð"ñ 
ñ"r$   c                ó¨  € \        V\        4      '       g   \        R \        V4       R24      hV P                  ! Vf   V P
                  MTV3/ VB w  r#V P                  V4      pV P                  WW4R7      pV P                  WW4R7      pVP                  p	VP                  p
\        4       '       dK   V	P                  VP                  P                  4      p	V
P                  VP                  P                  4      p
V P                  WšV4      pVP                  4       pW¼n        V P                  VP                  VP                  V4      Vn        V# )zOnly `Boxes` is supported. Got Ú.r  )rD   r   ÚRuntimeErrorr1   rÎ   ra   r  Úapply_transform_boxÚapply_non_transform_boxÚdatar   rq   r	  rO   Ú_dataÚ_valid©r*   r+   r¹   rc   rð   r8   rþ   r  r  Údata_transformedÚdata_not_transformedÚblended_datar�   s   &&&&&,       r"   Útransform_boxesÚ!_AugmentationBase.transform_boxes  s9  € ô ˜%¤×'Ò'ÜÐ!@ÄÀeÃÀÈQÐOÓPÐPà×@Ò@Ø"šNˆD�LŠL°¸ñ
ØAGñ
‰ˆð —:‘:˜fÓ%ˆà!×5Ñ5°eÀUÐ5Ó`ÐØ!%×!=Ñ!=¸eÈUÐ!=Ó!hÐà-×2Ñ2ÐØ5×:Ñ:Ðä× Ò Ø/×4Ñ4°U·Z±Z×5EÑ5EÓFÐØ#7×#<Ñ#<¸U¿Z¹Z×=MÑ=MÓ#NÐ à×*Ñ*Ð+;ÐS[Ó\ˆð (×-Ñ-Ó/ˆØ#ŒØ×+Ñ+Ð,>×,EÑ,EÐG]×GdÑGdÐfnÓoˆŒØˆr$   c                ó¢   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[RS[ /# r  ©r   r	   ry   r-   r.   r   r
   )r!   r:   s   "€r"   r#   rò   :  sf   ø€ ÷ ñ áðñ ‘S™%Ÿ,™,Ð&Õ'ðñ ‘C™�H�~ð	ñ
 ™EŸL™LÕ)ðñ ðñ 
ñr$   c                óP  € \        V\        4      '       g   \        R \        V4       R24      hV P                  ! Vf   V P
                  MTV3/ VB w  r#V P                  V4      pV P                  WW4R7      pV P                  WW4R7      pVP                  p	VP                  p
\        4       '       dK   V	P                  VP                  P                  4      p	V
P                  VP                  P                  4      p
V P                  WšV4      pVP                  4       pW¼n        V# )z#Only `Keypoints` is supported. Got r,  r  )rD   r   r-  r1   rÎ   ra   r  Úapply_transform_keypointÚapply_non_transform_keypointr0  r   rq   r	  rO   r1  r3  s   &&&&&,       r"   Útransform_keypointsÚ%_AugmentationBase.transform_keypoints:  s  € ô ˜%¤×+Ò+ÜÐ!DÄTÈ%Ã[ÀMÐQRÐSÓTÐTà×@Ò@Ø"šNˆD�LŠL°¸ñ
ØAGñ
‰ˆð —:‘:˜fÓ%ˆà!×:Ñ:¸5È%Ð:ÓeÐØ!%×!BÑ!BÀ5ÐRWÐ!BÓ!mÐà-×2Ñ2ÐØ5×:Ñ:Ðä× Ò Ø/×4Ñ4°U·Z±Z×5EÑ5EÓFÐØ#7×#<Ñ#<¸U¿Z¹Z×=MÑ=MÓ#NÐ à×*Ñ*Ð+;ÐS[Ó\ˆà'×-Ñ-Ó/ˆØ#ŒØˆr$   c                óÊ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[RS[ P                  /# r  rñ   )r!   r:   s   "€r"   r#   rò   [  sv   ø€ ÷ Yñ Yá�|‰|ðYñ ‘S™%Ÿ,™,Ð&Õ'ðYñ ‘C™�H�~ð	Yñ
 ™EŸL™LÕ)ðYñ ðYñ 
�‰ñYr$   c                óà   € V P                   ! Vf   V P                  MTV3/ VB w  r#V P                  V4      pV P                  WW4R7      pV P	                  WW4R7      pV P                  WxV4      # )Nr  )rÎ   ra   r  Úapply_transform_classÚapply_non_transform_classr	  )	r*   r+   r¹   rc   rð   r8   rþ   r  r  s	   &&&&&,   r"   Útransform_classesÚ#_AugmentationBase.transform_classes[  s}   € ð ×@Ò@Ø"šNˆD�LŠL°¸ñ
ØAGñ
‰ˆð —:‘:˜fÓ%ˆà!×7Ñ7¸ÀuÐ7ÓbÐØ!%×!?Ñ!?ÀÈuÐ!?Ó!jÐà×"Ñ"Ð#5ÈxÓXÐXr$   c          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# rï   rñ   )r!   r:   s   "€r"   r#   rò   n  ró   r$   c                ó   € \         h)zMProcess masks corresponding to the inputs that are no transformation applied.r”   rõ   s   &&&&&r"   r$  Ú*_AugmentationBase.apply_non_transform_maskn  r—   r$   c          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# rï   rñ   )r!   r:   s   "€r"   r#   rò   x  ró   r$   c                ó   € \         h)z?Process masks corresponding to the inputs that are transformed.r”   rõ   s   &&&&&r"   r#  Ú&_AugmentationBase.apply_transform_maskx  r—   r$   c          
      óœ   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[ /# rï   r*  )r!   r:   s   "€r"   r#   rò   ‚  s\   ø€ ÷ ñ áðñ ‘S™%Ÿ,™,Ð&Õ'ðñ ‘C™�H�~ð	ñ
 ™EŸL™LÕ)ðñ 
ñr$   c                ó   € V# )zMProcess boxes corresponding to the inputs that are no transformation applied.r@   rõ   s   &&&&&r"   r/  Ú)_AugmentationBase.apply_non_transform_box‚  ó	   € ð ˆr$   c          
      óœ   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[ /# rï   r*  )r!   r:   s   "€r"   r#   rò   Œ  s\   ø€ ÷ "ñ "áð"ñ ‘S™%Ÿ,™,Ð&Õ'ð"ñ ‘C™�H�~ð	"ñ
 ™EŸL™LÕ)ð"ñ 
ñ"r$   c                ó   € \         h)z?Process boxes corresponding to the inputs that are transformed.r”   rõ   s   &&&&&r"   r.  Ú%_AugmentationBase.apply_transform_boxŒ  r—   r$   c          
      óœ   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[ /# rï   r:  )r!   r:   s   "€r"   r#   rò   –  s\   ø€ ÷ ñ áðñ ‘S™%Ÿ,™,Ð&Õ'ðñ ‘C™�H�~ð	ñ
 ™EŸL™LÕ)ðñ 
ñr$   c                ó   € V# )zQProcess keypoints corresponding to the inputs that are no transformation applied.r@   rõ   s   &&&&&r"   r=  Ú._AugmentationBase.apply_non_transform_keypoint–  rO  r$   c          
      óœ   <€ V ^8„  d   QhRS[ RS[S[S[P                  3,          RS[S[S[3,          RS[S[P                  ,          RS[ /# rï   r:  )r!   r:   s   "€r"   r#   rò      s\   ø€ ÷ "ñ "áð"ñ ‘S™%Ÿ,™,Ð&Õ'ð"ñ ‘C™�H�~ð	"ñ
 ™EŸL™LÕ)ð"ñ 
ñ"r$   c                ó   € \         h)zCProcess keypoints corresponding to the inputs that are transformed.r”   rõ   s   &&&&&r"   r<  Ú*_AugmentationBase.apply_transform_keypoint   r—   r$   c          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# rï   rñ   )r!   r:   s   "€r"   r#   rò   ª  sd   ø€ ÷ ñ á�|‰|ðñ ‘S™%Ÿ,™,Ð&Õ'ðñ ‘C™�H�~ð	ñ
 ™EŸL™LÕ)ðñ 
�‰ñr$   c                ó   € V# )zRProcess class tags corresponding to the inputs that are no transformation applied.r@   rõ   s   &&&&&r"   rC  Ú+_AugmentationBase.apply_non_transform_classª  rO  r$   c          
      óÄ   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[3,          RS[S[ P                  ,          RS[ P                  /# rï   rñ   )r!   r:   s   "€r"   r#   rò   ´  ró   r$   c                ó   € \         h)zDProcess class tags corresponding to the inputs that are transformed.r”   rõ   s   &&&&&r"   rB  Ú'_AugmentationBase.apply_transform_class´  r—   r$   c          	      óª   <€ V ^8„  d   QhRS[ P                  RS[S[S[ P                  3,          RS[S[S[S[3,          ,          RS[ P                  /# )r   rà   r¹   rc   r   )r-   r.   r	   ry   r
   r   )r!   r:   s   "€r"   r#   rò   ¾  sV   ø€ ÷ 	?ñ 	?á—<‘<ð	?ñ ‘S™%Ÿ,™,Ð&Õ'ð	?ñ ™™S¡#˜X�Õ'ð		?ñ
 
�‰ñ	?r$   c                óF   € Vf   V P                   pV P                  WV4      # r{   )rc   r  )r*   rà   r¹   rc   s   &&&&r"   rÜ   Ú_AugmentationBase.apply_func¾  s%   € ð Š=Ø—J‘JˆEà×$Ñ$ Y¸Ó>Ð>r$   r@   r{   )r2   rL   rG   rå   ræ   r  rÛ   rù   Ústaticmethodr	  r  r  r'  r7  r>  rD  r$  r#  r/  r.  r=  r<  rC  rB  rÜ   ré   rê   )r:   s   @r"   rí   rí   u  sß   ø‡ € ñð  "'Ð÷"ò "÷	ò 	ð ÷=ó ð=÷0
ð 
÷(Vò (V÷T(Qò (Q÷T"ò "÷Hò ÷BYò Y÷&"ò "÷"ò "÷ò ÷"ò "÷ò ÷"ò "÷ò ÷"ò "÷	?÷ 	?ð 	?r$   rí   c                ó@   € V ^8„  d   Qh/ ^ \         9   d
   \        ;R&   # )r   r¾   )Ú__conditional_annotations__r   )r!   s   "r"   r#   r#      s   € ‡�÷R Ò ŒÑ òS r$   )F)-rd  rÊ   Úenumr   Ú	functoolsr   Úinspectr   Útypesr   Útypingr   r   r	   r
   r   r   r-   r   Ú$kornia.augmentation.random_generatorr   Úkornia.augmentation.utilsr   r   Ú!kornia.augmentation.utils.helpersr   r   Úkornia.core.utilsr   r   r   Úkornia.geometry.boxesr   Úkornia.geometry.keypointsr   r(   r.   ÚTensorWithTransformMatÚobjectr¾   r4   r,   r6   rí   r#   )rd  s   @r"   Ú<module>rr     s¢   øð÷$ €Ý Ý $Ý "Ý ß >× >ã Ý å D÷÷ _ß WÑ WÝ 'Ý /÷ð" ˜uŸ|™|¨U°5·<±<ÀÇÁÐ3MÕ-NÐNÕOÐ ñ ‹h€Ó õvôh]˜RŸY™Yô h]ôV	R?Ð.ö R?r$   