a
    ‘º”h  ã                   @   s\   U d dl Z d dlmZmZ er&d dlZg aeeedgdf  ed< e j	dd„ ƒZ
dd„ ZdS )	é    N)ÚCallableÚTYPE_CHECKINGztorch.TensorÚINTERMEDIATE_HOOKSc                 c   s,   t  | ¡ zd V  W t  ¡  n
t  ¡  0 d S ©N)r   ÚappendÚpop)Úfn© r	   úC/var/www/auris/lib/python3.9/site-packages/torch/_inductor/hooks.pyÚintermediate_hook   s    
r   c                 C   s0   t }g a z|D ]}|| |ƒ qW |a n|a 0 d S r   )r   )ÚnameÚvalÚhooksÚhookr	   r	   r
   Úrun_intermediate_hooks   s    r   )Ú
contextlibÚtypingr   r   Ztorchr   ÚlistÚstrÚ__annotations__Úcontextmanagerr   r   r	   r	   r	   r
   Ú<module>   s   

