
    9jV                          d dl Z  G d d      Zy)    Nc                   "    e Zd Zed        Zd Zy)Fooc                 >     d        }d|_         d|_        dd}||fS )Nc                      d x}fddcS )Tc                      y)zThis is a testN )as    h/media/conek/DATA/Code/OCR/venv/lib/python3.12/site-packages/torch/testing/_internal/py312_intrinsics.pyfzFoo._default_update.<locals>.f   s        )r
   zThis is a new annotationr	   )	.defaultsr   s     r   z<generic parameters of f>z6Foo._default_update.<locals>.<generic parameters of f>   s	    a 	!r   zThis is also a testzThis is a bald faced liec                      y )Nr	   )bs    r   wrapperz$Foo._default_update.<locals>.wrapper   s    r   )r   zThis is the prior annotation)attr__wrapped__)clsr   r   s      r   _default_updatezFoo._default_update	   s(    	! '2	 zr   c                 x    t        j                  dd      d        }t        j                  d      } ||       y )NeagerT)backend	fullgraphc                 :    t         j                         \  }}| dz   S )N   )r   r   )xr   r   s      r   fnz#Foo.test_default_update.<locals>.fn   s    ,,.JGQq5Lr      )torchcompilerandn)selfr   r   s      r   test_default_updatezFoo.test_default_update   s5    	w$	7	 
8	 KKN
1r   N)__name__
__module____qualname__classmethodr   r#   r	   r   r   r   r      s    
 
r   r   )r   r   r	   r   r   <module>r(      s     r   