+
     °³js	  ã                   ó<   € ^ RI t ^ RIHu Ht ^RIHt RR R lltR# )é    N)Ú_log_api_usage_oncec                óœ   € V ^8„  d   QhR\         P                  R\         P                  R\        R\        R\        R\         P                  /# )é   ÚinputsÚtargetsÚalphaÚgammaÚ	reductionÚreturn)ÚtorchÚTensorÚfloatÚstr)Úformats   "Ú[/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torchvision/ops/focal_loss.pyÚ__annotate__r      sP   € ÷ 6ñ 6Ü�L‰Lð6ä�\‰\ð6ô ð6ô ð	6ô
 ð6ô ‡\�\ñ6ó    c                óÌ  € ^ Tu;8:  d   ^8:  g   M VR	8w  d   \        RV R24      h\        P                  P                  4       '       g4   \        P                  P	                  4       '       g   \        \        4       \        P                  ! V 4      p\        P                  ! WRR7      pWQ,          ^V,
          ^V,
          ,          ,           pV^V,
          V,          ,          pV^ 8¼  d-   W!,          ^V,
          ^V,
          ,          ,           p	W˜,          pVR8X  d    V# VR8X  d   VP                  4       pV# VR8X  d   VP                  4       pV# \        RV R24      h)
aÖ  
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002.

Args:
    inputs (Tensor): A float tensor of arbitrary shape.
            The predictions for each example.
    targets (Tensor): A float tensor with the same shape as inputs. Stores the binary
            classification label for each element in inputs
            (0 for the negative class and 1 for the positive class).
    alpha (float): Weighting factor in range [0, 1] to balance
            positive vs negative examples or -1 for ignore. Default: ``0.25``.
    gamma (float): Exponent of the modulating factor (1 - p_t) to
            balance easy vs hard examples. Default: ``2``.
    reduction (string): ``'none'`` | ``'mean'`` | ``'sum'``
            ``'none'``: No reduction will be applied to the output.
            ``'mean'``: The output will be averaged.
            ``'sum'``: The output will be summed. Default: ``'none'``.
Returns:
    Loss tensor with the reduction option applied.
zInvalid alpha value: z4. alpha must be in the range [0,1] or -1 for ignore.Únone)r
   ÚmeanÚsumz$Invalid Value for arg 'reduction': 'z3 
 Supported reduction modes: 'none', 'mean', 'sum'éÿÿÿÿ)Ú
ValueErrorr   ÚjitÚis_scriptingÚ
is_tracingr   Úsigmoid_focal_lossÚsigmoidÚFÚ binary_cross_entropy_with_logitsr   r   )
r   r   r   r	   r
   ÚpÚce_lossÚp_tÚlossÚalpha_ts
   &&&&&     r   r   r      s4  € ð: �ŽO˜!ŽO ¨"¤ÜÐ0°°Ð7kÐlÓmÐmä�9‰9×!Ñ!×#Ò#¬E¯I©I×,@Ñ,@×,BÒ,BÜÔ.Ô/Ü�Š�fÓ€AÜ×0Ò0°ÈFÔS€GØ
�+˜˜Q� 1 w¥;Õ/Õ
/€CØ�q˜3•w 5Õ(Õ)€Dà�„zØ•/ Q¨¥Y°1°wµ;Õ$?Õ?ˆØ�~ˆð �FÔØð €Kð 
�fÔ	Ø�y‰y‹{ˆð €Kð 
�eÔ	Ø�x‰x‹zˆð
 €Kô Ø2°9°+Ð=qÐró
ð 	
r   )g      Ð?r   r   )r   Útorch.nn.functionalÚnnÚ
functionalr   Úutilsr   r   © r   r   Ú<module>r+      s   ðÛ ß Ð å '÷6ñ 6r   