
    Yh                     J    d dl mZmZ d ZdefdZedk    r ed          dS )    )_compile_graph_to_code_table_generate_upgraders_graphc                 `    fdi }| D ]"}|d         }|d         } |          }|||<   #|S )Nc                 N    t          | t                    s| S fd| D             S )Nc                 &    g | ]} |          S  r   ).0ilistifys     m/var/www/tools.fuzzalab.pt/emblema-extractor/venv/lib/python3.11/site-packages/torch/jit/generate_bytecode.py
<listcomp>z4format_bytecode.<locals>.listify.<locals>.<listcomp>   s!    ,,,q

,,,    )
isinstancetuple)contentr   s    r   r   z format_bytecode.<locals>.listify   s4    '5)) 	N,,,,G,,,,r   r      r   )tableformatted_tableentry
identifierr   r   s        @r   format_bytecoder      sf    - - - - -
 O . .1X
(''""&-
##r   returnc                      g } t                      }|                                D ];\  }}t          ||          }|t          |          i}|                     |           <| S )N)r   itemsr   r   append)yaml_contentupgraders_graph_mapupgrader_nameupgrader_graphbytecode_tabler   s         r   generate_upgraders_bytecoder!      sq    L355)<)B)B)D)D # #%~5m^TT ? ?@E""""r   __main__z)This file is not meant to be run directlyN)torch._Cr   r   r   listr!   __name__RuntimeErrorr   r   r   <module>r'      sp    M L L L L L L L   T     z
,B
C
CC r   