
    Ph6                     $    d dl Z defdZd Zd Zy)    Nreturnc                       y)NF r       gC:\Users\daisl\Desktop\realtime-object-detection\venv\Lib\site-packages\torch/_dynamo/external_utils.pyis_compilingr      s    r   c                 B     t        j                          fd       }|S )zB
    Create an extra frame around fn that is not in skipfiles
    c                       | i |S )Nr   )argskwargsfns     r   innerzwrap_inline.<locals>.inner   s    4"6""r   )	functoolswraps)r   r   s   ` r   wrap_inliner   
   s'    
 __R# # Lr   c                      | | }||d   S |S )zA
    Used by compiled autograd to handle hook returning None
    r   r   )hookr   results      r   	call_hookr      s      4[F~AwMr   )r   boolr   r   r   r   r   r   <module>r      s     d 	r   