+
    –°³j2  ã                   óv   € ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIHtH	t	 ^ RI
HtHt R.t ! R R]4      tR# )	é    N©ÚTensor)Úconstraints)ÚExponentialFamily)Ú_standard_normalÚbroadcast_all)Ú_NumberÚ_sizeÚNormalc                   ó´  a a€ ] tR t^t oRtR]P                  R]P                  /t]P                  t	Rt
^ t]V3R lR l4       t]V3R lR l4       t]V3R	 lR
 l4       t]V3R lR l4       tRV3R lV 3R llltRV 3R llt]P(                  ! 4       3R lt]P(                  ! 4       3V3R lR lltR tR tR tR t]V3R lR l4       tR tRtVtV ;t# )r   aû  
Creates a normal (also called Gaussian) distribution parameterized by
:attr:`loc` and :attr:`scale`.

Example::

    >>> # xdoctest: +IGNORE_WANT("non-deterministic")
    >>> m = Normal(torch.tensor([0.0]), torch.tensor([1.0]))
    >>> m.sample()  # normally distributed with loc=0 and scale=1
    tensor([ 0.1046])

Args:
    loc (float or Tensor): mean of the distribution (often referred to as mu)
    scale (float or Tensor): standard deviation of the distribution
        (often referred to as sigma)
ÚlocÚscaleTc                ó    <€ V ^8„  d   QhRS[ /# ©é   Úreturnr   )ÚformatÚ__classdict__s   "€Ú[/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributions/normal.pyÚ__annotate__ÚNormal.__annotate__(   ó   ø€ ÷ ñ ‘fñ ó    c                ó   € V P                   # ©N©r   ©Úselfs   &r   ÚmeanÚNormal.mean'   ó   € à�x‰xˆr   c                ó    <€ V ^8„  d   QhRS[ /# r   r   )r   r   s   "€r   r   r   ,   r   r   c                ó   € V P                   # r   r   r   s   &r   ÚmodeÚNormal.mode+   r!   r   c                ó    <€ V ^8„  d   QhRS[ /# r   r   )r   r   s   "€r   r   r   0   s   ø€ ÷ ñ ™ñ r   c                ó   € V P                   # r   )r   r   s   &r   ÚstddevÚNormal.stddev/   s   € à�z‰zÐr   c                ó    <€ V ^8„  d   QhRS[ /# r   r   )r   r   s   "€r   r   r   4   s   ø€ ÷ "ñ "™&ñ "r   c                ó8   € V P                   P                  ^4      # ©r   )r(   Úpowr   s   &r   ÚvarianceÚNormal.variance3   s   € à�{‰{�‰˜qÓ!Ð!r   c                ó^   <€ V ^8„  d   QhRS[ S[,          RS[ S[,          RS[R,          RR/# )r   r   r   Úvalidate_argsNr   )r   ÚfloatÚbool)r   r   s   "€r   r   r   7   sE   ø€ ÷ Cñ Cá‘e�^ðCñ ™�~ðCñ ˜d•{ð	Cð
 
ñCr   c                ó  <€ \        W4      w  V n        V n        \        V\        4      '       d-   \        V\        4      '       d   \
        P                  ! 4       pMV P                  P                  4       p\        SV `%  WCR 7       R# )©r1   N)
r   r   r   Ú
isinstancer	   ÚtorchÚSizeÚsizeÚsuperÚ__init__)r   r   r   r1   Úbatch_shapeÚ	__class__s   &&&& €r   r;   ÚNormal.__init__7   s[   ø€ ô  -¨SÓ8ÑˆŒ�$”*Ü�cœ7×#Ò#¬
°5¼'×(BÒ(BÜŸ*š*›,‰KàŸ(™(Ÿ-™-›/ˆKÜ‰Ñ˜ÐÖBr   c                ó,  <€ V P                  \        V4      p\        P                  ! V4      pV P                  P                  V4      Vn        V P                  P                  V4      Vn        \        \        V`#  VR R7       V P                  Vn	        V# )Fr5   )
Ú_get_checked_instancer   r7   r8   r   Úexpandr   r:   r;   Ú_validate_args)r   r<   Ú	_instanceÚnewr=   s   &&& €r   rA   ÚNormal.expandD   st   ø€ Ø×(Ñ(¬°Ó;ˆÜ—j’j Ó-ˆØ—(‘(—/‘/ +Ó.ˆŒØ—J‘J×%Ñ% kÓ2ˆŒ	ÜŒf�cÑ# K¸uÐ#ÔEØ!×0Ñ0ˆÔØˆ
r   c                ó.  € V P                  V4      p\        P                  ! 4       ;_uu_ 4        \        P                  ! V P                  P                  V4      V P                  P                  V4      4      uuR R R 4       #   + '       g   i     R # ; ir   )Ú_extended_shaper7   Úno_gradÚnormalr   rA   r   )r   Úsample_shapeÚshapes   && r   ÚsampleÚNormal.sampleM   sS   € Ø×$Ñ$ \Ó2ˆÜ�]Š]�_�_Ü—<’< §¡§¡°Ó 6¸¿
¹
×8IÑ8IÈ%Ó8PÓQ÷ �_�_‹_ús   ¯A	BÂB	c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   rJ   r   )r
   r   )r   r   s   "€r   r   r   R   s   ø€ ÷ +ñ +¡Eð +¹Vñ +r   c                óÔ   € V P                  V4      p\        W P                  P                  V P                  P                  R 7      pV P                  W0P
                  ,          ,           # ))ÚdtypeÚdevice)rG   r   r   rP   rQ   r   )r   rJ   rK   Úepss   &&  r   ÚrsampleÚNormal.rsampleR   sD   € Ø×$Ñ$ \Ó2ˆÜ˜u¯H©H¯N©NÀ4Ç8Á8Ç?Á?ÔSˆØ�x‰x˜#§
¡
Õ*Õ*Ð*r   c                ó  € V P                   '       d   V P                  V4       V P                  ^,          p\        V P                  \        4      '       d!   \
        P                  ! V P                  4      MV P                  P                  4       pWP                  ,
          ^,          ) ^V,          ,          V,
          \
        P                  ! \
        P                  ! ^\
        P                  ,          4      4      ,
          # r,   )
rB   Ú_validate_sampler   r6   r	   ÚmathÚlogr   ÚsqrtÚpi)r   ÚvalueÚvarÚ	log_scales   &&  r   Úlog_probÚNormal.log_probW   s­   € Ø××ÐØ×!Ñ! %Ô(à�j‰j˜!�mˆô ˜$Ÿ*™*¤g×.Ò.ô �HŠH�T—Z‘ZÔ à—‘—‘Ó!ð 	ð —x‘xÕ AÕ%Ð&¨!¨c­'Õ2Øõä�hŠh”t—y’y ¤T§W¡W¥Ó-Ó.õ/ð	
r   c                ó$  € V P                   '       d   V P                  V4       R ^\        P                  ! WP                  ,
          V P
                  P                  4       ,          \        P                  ! ^4      ,          4      ,           ,          # ©ç      à?)	rB   rV   r7   Úerfr   r   Ú
reciprocalrW   rY   ©r   r[   s   &&r   ÚcdfÚ
Normal.cdfg   sa   € Ø××ÐØ×!Ñ! %Ô(ØØ”—	’	˜5§8¡8Õ+¨t¯z©z×/DÑ/DÓ/FÕFÌÏÊÐSTËÕUÓVÕVõ
ð 	
r   c                óÄ   € V P                   V P                  \        P                  ! ^V,          ^,
          4      ,          \        P
                  ! ^4      ,          ,           # r,   )r   r   r7   ÚerfinvrW   rY   re   s   &&r   ÚicdfÚNormal.icdfn   s8   € Ø�x‰x˜$Ÿ*™*¤u§|¢|°A¸µIÀµMÓ'BÕBÄTÇYÂYÈqÃ\ÕQÕQÐQr   c                ó¾   € R R \         P                  ! ^\         P                  ,          4      ,          ,           \        P                  ! V P                  4      ,           # ra   )rW   rX   rZ   r7   r   r   s   &r   ÚentropyÚNormal.entropyq   s5   € Ø�Sœ4Ÿ8š8 A¬¯©¥KÓ0Õ0Õ0´5·9²9¸T¿Z¹ZÓ3HÕHÐHr   c                ó6   <€ V ^8„  d   QhRS[ S[S[3,          /# r   )Útupler   )r   r   s   "€r   r   r   u   s    ø€ ÷ Uñ U¡¡v©v ~Õ!6ñ Ur   c                óº   € V P                   V P                  P                  ^4      ,          RV P                  P                  ^4      P                  4       ,          3# )r   g      à¿)r   r   r-   rd   r   s   &r   Ú_natural_paramsÚNormal._natural_paramst   s>   € à—‘˜4Ÿ:™:Ÿ>™>¨!Ó,Õ,¨d°T·Z±Z·^±^ÀAÓ5F×5QÑ5QÓ5SÕ.SÐTÐTr   c                ó°   € RVP                  ^4      ,          V,          R\        P                  ! \        P                  ) V,          4      ,          ,           # )g      Ð?rb   g      Ð¿)r-   r7   rX   rW   rZ   )r   ÚxÚys   &&&r   Ú_log_normalizerÚNormal._log_normalizery   s7   € Ø�q—u‘u˜Q“xÕ !Õ# c¬E¯IªI´t·w±w°hÀµlÓ,CÕ&CÕCÐCr   )r   r   r   ) Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   ÚrealÚpositiveÚarg_constraintsÚsupportÚhas_rsampleÚ_mean_carrier_measureÚpropertyr   r$   r(   r.   r;   rA   r7   r8   rL   rS   r^   rf   rj   rm   rr   rw   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r=   r   s   @@r   r   r      sù   ù‡ € ñð$ ˜k×.Ñ.°¸×9MÑ9MÐN€OØ×Ñ€GØ€KØÐà÷ó ðð ÷ó ðð ÷ó ðð ÷"ó ð"÷Cõ C÷ð #(§*¢*£,ô Rð
 -2¯JªJ«L÷ +ò +ò

ò 
òRòIð ÷Uó ðU÷Dò Dr   )rW   r7   r   Útorch.distributionsr   Útorch.distributions.exp_familyr   Útorch.distributions.utilsr   r   Útorch.typesr	   r
   Ú__all__r   © r   r   Ú<module>rŽ      s4   ðã ã Ý Ý +Ý <ß Eß &ð ˆ*€ôkDÐö kDr   