
    sg>                         U d dl mZmZmZmZ d dl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Zy)	    )AnyDictCallableTypeVarN_BACK_COMPAT_OBJECTS_MARKED_WITH_COMPATIBILITY_Tis_backward_compatiblereturnc                 N    | rdt         dt         fd}|S dt         dt         fd}|S )Nfnr   c                     t        j                  t        | dd       xs d      }|dz  }|| _        t        j                  |        t        j                  |        | S )N__doc__ zC
.. note::
    Backwards-compatibility for this API is guaranteed.
)textwrapdedentgetattrr   r   
setdefaultr   r   	docstrings     J/var/www/html/venv/lib/python3.12/site-packages/torch/fx/_compatibility.pymark_back_compatz'compatibility.<locals>.mark_back_compat   sW     It(D(JKI  I #BJ ++B/&11"5I    c                     t        j                  t        | dd       xs d      }|dz  }|| _        t        j                  |        | S )Nr   r   zM
.. warning::
    This API is experimental and is *NOT* backward-compatible.
)r   r   r   r   r   r   r   s     r   mark_not_back_compatz+compatibility.<locals>.mark_not_back_compat   sI     It(D(JKI  I #BJ&11"5Ir   )r	   )r
   r   r   s      r   compatibilityr   	   s;    		 		 		  	R 	B 	 $#r   )typingr   r   r   r   r   r   __annotations__r   r	   boolr    r   r   <module>r!      s[    / / )+ tCI +/1 T#t)_ 1T]$$ $8RD"H3E $r   