o
    i9                     @   sn   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	de
dee	ge	f fdd	ZdS )
    N)AnyCallableTypeVar_BACK_COMPAT_OBJECTS_MARKED_WITH_COMPATIBILITY_Tis_backward_compatiblereturnc                 C   s0   | rdt dt fdd}|S dt dt fd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   T/home/ubuntu/veenaModal/venv/lib/python3.10/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   
  