a
    ‘º”h9  ã                   @   sl   U d dl Z d dlmZmZmZ i Zeedf ed< i Zeedf ed< edƒZ	e
ee	ge	f dœdd„ZdS )	é    N)ÚAnyÚCallableÚTypeVarÚ_BACK_COMPAT_OBJECTSÚ_MARKED_WITH_COMPATIBILITYÚ_T)Úis_backward_compatibleÚreturnc                 C   s0   | rt t dœdd„}|S t t dœdd„}|S d S )N)Úfnr	   c                 S   s<   t  t| dd ƒpd¡}|d7 }|| _t | ¡ t | ¡ | S )NÚ__doc__Ú zC
.. note::
    Backwards-compatibility for this API is guaranteed.
)ÚtextwrapÚdedentÚgetattrr   r   Ú
setdefaultr   ©r
   Ú	docstring© r   úE/var/www/auris/lib/python3.9/site-packages/torch/fx/_compatibility.pyÚmark_back_compat   s    

z'compatibility.<locals>.mark_back_compatc                 S   s2   t  t| dd ƒpd¡}|d7 }|| _t | ¡ | S )Nr   r   zM
.. warning::
    This API is experimental and is *NOT* backward-compatible.
)r   r   r   r   r   r   r   r   r   r   Úmark_not_back_compat   s
    
z+compatibility.<locals>.mark_not_back_compat)r   )r   r   r   r   r   r   Úcompatibility   s
    
r   )r   Útypingr   r   r   r   ÚdictÚ__annotations__r   r   Úboolr   r   r   r   r   Ú<module>   s
   
