
    c,jF                         d dl mZ d dlZ G d d          Zdej        j        dej        j        ej        j        z  defdZdS )	    )TracebackTypeNc                       e Zd Zdej        j        dej        j        ej        j        z  ddfdZddZ	de
e         dz  dedz  d	edz  ddfd
ZdS )_InsertPointinsert_point_graphinsert_pointreturnNc                 0    || _         || _        d | _        d S N)r   gguard)selfr   r   s      S/var/www/html/banglarbhumi/venv/lib/python3.11/site-packages/torch/jit/_ir_utils.py__init__z_InsertPoint.__init__   s    
 )#


    c                     | j                                         | _        | j                             | j                   d S r
   )r   insertPointprev_insert_pointsetInsertPointr   )r   s    r   	__enter__z_InsertPoint.__enter__   s7    !%!3!3!5!5d/00000r   exc_typeexc_valexc_tbc                 D    | j                             | j                   d S r
   )r   r   r   )r   r   r   r   s       r   __exit__z_InsertPoint.__exit__   s#     	d455555r   )r   N)__name__
__module____qualname__torch_CGraphNodeBlockr   r   typeBaseExceptionr   r    r   r   r   r      s        !HN hmehn4 
	   1 1 1 16}%,6 %6 $	6
 
6 6 6 6 6 6r   r   r   r   r   c                 "    t          | |          S r
   )r   )r   r   s     r   insert_point_guardr'      s     l+++r   )	typesr   r   r   r   r    r!   r"   r'   r%   r   r   <module>r)      s          6 6 6 6 6 6 6 6.,
(.,(-(F,, , , , , ,r   