
    iJ                     p   S r SSKJr  SSKJr  SSKJrJr  SSKJ	r	  \ " S S5      5       r
\ " S S	5      5       r\ " S
 S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S\5      5       r\ " S S5      5       r\ " S S5      5       r " S S\5      r\ " S  S!5      5       r\ " S" S#5      5       r\ " S$ S%5      5       r\ " S& S'5      5       r\ " S( S)5      5       r\ " S* S+5      5       rg,)-z
This file is the python representation of the schema contained in
executorch/devtools/etdump/etdump_schema.fbs. Any changes made to that
flatbuffer schema should accordingly be reflected here also.
    )	dataclass)Enum)ListOptional)
ScalarTypec                   P    \ rS rSr% \\S'   \\   \S'   \\   \S'   \\   \S'   Sr	g)Tensor   scalar_typesizesstridesoffset N)
__name__
__module____qualname____firstlineno__r   __annotations__r   intr   __static_attributes__r       g/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/executorch/devtools/etdump/schema_flatcc.pyr	   r	      s&    9#YSMr   r	   c                   &    \ rS rSr% \\   \S'   Srg)
TensorList   tensorsr   N)r   r   r   r   r   r	   r   r   r   r   r   r   r      s    &\r   r   c                       \ rS rSrSrg)Null"   r   N)r   r   r   r   r   r   r   r   r   r   "   s    r   r   c                        \ rS rSr% \\S'   Srg)Int'   int_valr   Nr   r   r   r   r   r   r   r   r   r   r!   r!   '   s    Lr   r!   c                        \ rS rSr% \\S'   Srg)Bool,   bool_valr   N)r   r   r   r   boolr   r   r   r   r   r&   r&   ,   s    Nr   r&   c                        \ rS rSr% \\S'   Srg)Double1   
double_valr   Nr   r   r   r   floatr   r   r   r   r   r+   r+   1   s    r   r+   c                        \ rS rSr% \\S'   Srg)Float6   	float_valr   Nr.   r   r   r   r1   r1   6   s    r   r1   c                        \ rS rSr% \\S'   Srg)String;   
string_valr   Nr   r   r   r   strr   r   r   r   r   r5   r5   ;   s    Or   r5   c                   *    \ rS rSr% \\S'   \\S'   Srg)ContainerMetadata@   encoded_inp_strencoded_out_strr   Nr8   r   r   r   r;   r;   @   s    r   r;   c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)	ValueTypeF   r   r!   r&   r1   r+   r	   r   r5   r   N)r   r   r   r   NULLINTBOOLFLOATDOUBLETENSORTENSOR_LISTSTRINGr   r   r   r   r@   r@   F   s*    D
CDEFFKFr   r@   c                       \ rS rSr% \\S'   \\   \S'   \\   \S'   \\	   \S'   \\
   \S'   \\   \S'   \\   \S'   \\   \S	'   S
rg)ValueR   valtensortensor_list	int_valuefloat_valuedouble_value
bool_valueoutputr   N)r   r   r   r   r9   r   r   r	   r   r!   r1   r+   r&   r   r   r   r   rK   rK   R   sP    	HV*%%}% 6""TNr   rK   c                   d    \ rS rSr% \\   \S'   \\S'   \\S'   \\   \S'   \\   \S'   \\S'   Sr	g	)

DebugEvent^   namechain_indexinstruction_iddelegate_debug_id_intdelegate_debug_id_strdebug_entryr   N)
r   r   r   r   r   r9   r   r   rK   r   r   r   r   rV   rV   ^   s2    
3-#C=(#C=(r   rV   c                   $    \ rS rSrSrSrSrSrSrg)PROFILE_EVENT_ENUMi   zMethod::executeOPERATOR_CALLDELEGATE_CALLzProgram::load_methodr   N)	r   r   r   r   	RUN_MODELra   rb   
LOAD_MODELr   r   r   r   r_   r_   i   s    !I#M#M'Jr   r_   c                   ~    \ rS rSr% \\   \S'   \\S'   \\S'   \\   \S'   \\   \S'   \\   \S'   \\S'   \\S	'   S
r	g)ProfileEventp   rX   rY   rZ   r[   r\   delegate_debug_metadata
start_timeend_timer   N)
r   r   r   r   r   r9   r   r   bytesr   r   r   r   rf   rf   p   s@    
3-#C=(#C=(%e_,OMr   rf   c                   *    \ rS rSr% \\S'   \\S'   Srg)AllocationEvent|   allocator_idallocation_sizer   Nr$   r   r   r   rm   rm   |   s    r   rm   c                        \ rS rSr% \\S'   Srg)	Allocator   rX   r   Nr8   r   r   r   rr   rr      s    
Ir   rr   c                   F    \ rS rSr% \\   \S'   \\   \S'   \\   \S'   Sr	g)Event   profile_eventallocation_eventdebug_eventr   N)
r   r   r   r   r   rf   r   rm   rV   r   r   r   r   ru   ru      s#    L))//*%%r   ru   c                   \    \ rS rSr% \\S'   \\   \S'   \\\	      \S'   \\\
      \S'   Srg)RunData   rX   bundled_input_index
allocatorseventsr   N)r   r   r   r   r9   r   r   r   r   rr   ru   r   r   r   r   r{   r{      s/    
I!#&i))T%[!!r   r{   c                   0    \ rS rSr% \\S'   \\   \S'   Srg)ETDumpFlatCC   versionrun_datar   N)	r   r   r   r   r   r   r   r{   r   r   r   r   r   r      s    L7mr   r   N)__doc__dataclassesr   enumr   typingr   r   executorch.exir.scalar_typer   r	   r   r   r!   r&   r+   r1   r5   r;   r@   rK   rV   r_   rf   rm   rr   ru   r{   r   r   r   r   <module>r      s   "  ! 2       	 	 	                  
         ( (      
   
 & & & " " "   r   