
    sg                         d dl Zd Zd Zy)    Nc                 T    t         j                  j                  j                  |       S )zReturn a text dump of the LTC IR graph in dot format for the tensors.
    The text can be processed by tools like dot to be rendered in pdf,png etc.)torch_C_lazy_get_tensors_dot)tensorss    D/var/www/html/venv/lib/python3.12/site-packages/torch/_lazy/debug.pyrender_ir_graphr
      s     88>>**733    c                     |dk(  r)t         j                  j                  j                  |       S |dk(  r)t         j                  j                  j	                  |       S t        d|       )zReturn a dump of the tensors in the specified format.
    Valid format are
    - text: for LTC IR
    - backend: for the activate backend IR
    textbackendzUnrecognized IR format: )r   r   r   _get_tensors_text_get_tensors_backendRuntimeError)r   	ir_formats     r	   dump_irr      sY     Fxx~~//88	i	xx~~227;;5i[ABBr   )torch._C._lazyr   r
   r    r   r	   <module>r      s    4Cr   