+
    &j                         ^ RI Ht ^ RIHtHtHtHtHtHtH	t	H
t
HtHtHt  ! R R4      t ! R R4      t ! R R4      t ! R	 R
4      tR# )    )Any)
AnnotationArgument	ArgumentsBaseOperatorNameBaseTyBaseTypeCustomClassTypeFunctionSchemaListTypeOperatorNameReturnc                      a  ] tR t^t o ]]P                  ]]P                  ]]P                  ]]P                  /t	]
V 3R lR l4       tRtV tR# )TypeGenc                F   < V ^8  d   QhRS[ RS[S[,          S[,          /# )   objreturn)r   r	   r   r
   )format__classdict__s   "q/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torchgen/gen_schema_utils.py__annotate__TypeGen.__annotate__    s%     8 8# 8(X"5"G 8    c                &   ^ RI p\        WP                  P                  4      '       d   \	        \
        P                  4      # \        WP                  4      '       d   \	        \
        P                  4      # \        WP                  4      '       d   \	        \
        P                  4      # \        WP                  4      '       d   \	        \
        P                  4      # \        WP                  4      '       d(   \        V P                  4       P                  4       4      # \        V \        \        34      '       d   \        V 4      ^ 8X  d   \!        R4      hV  Uu. uF  p\"        P%                  V4      NK  	  pp\        \'        V4      4      ^8  d   \)        RV R24      h\+        V^ ,          \        V 4      4      # \-        V 4      pV\"        P.                  9  d   \)        RV 24      h\	        \"        P.                  V,          4      # u upi )r   Nzlist/tuple must be non-emptyzFCannot generate schema for a sequence of args of heterogeneous types: zc. Consider unpacking the argument and give proper names to them if possible instead of using *args.zunsupported type )torch
isinstancefxGraphModuler	   r   TensorSymIntSymBoolScriptObjectr
   _typenamelisttuplelenAssertionErrorr   from_examplesetRuntimeErrorr   typeconvert_to_base_ty)r   r   xall_base_tystps   &    r   r*   TypeGen.from_example   s   c88//00F..//\\**FMM**\\**FMM**]]++FNN++//00"399;#3#3#566dE]++3x1}$%CDD=@ASG003SLA3|$%)"\]i\j k. . 
 LOSX66#YW///!22$788222677 Bs   H N)__name__
__module____qualname____firstlineno__intr   floatstrboolr.   staticmethodr*   __static_attributes____classdictcell__r   s   @r   r   r      sE     VZZv||VZZfkk	 8 8r   r   c                   <   a  ] tR t^>t o ]V 3R lR l4       tRtV tR# )	ReturnGenc                N   < V ^8  d   QhRS[ R,          RS[RS[R,          RS[/# )r   r%   Nr   
annotationr   )r:   r   r   r   )r   r   s   "r   r   ReturnGen.__annotate__@   s<     C CDjC"C0:T0AC	Cr   c                B    \        V \        P                  V4      V4      # N)r   r   r*   )r%   r   rC   s   &&&r   r*   ReturnGen.from_example?   s     dG005zBBr   r3   Nr4   r5   r6   r7   r<   r*   r=   r>   r?   s   @r   rA   rA   >   s     C Cr   rA   c                   <   a  ] tR t^Ft o ]V 3R lR l4       tRtV tR# )ArgumentGenc          
      T   < V ^8  d   QhRS[ RS[RS[ R,          RS[R,          RS[/# )r   r%   r   defaultNrC   r   )r:   r   r   r   )r   r   s   "r   r   ArgumentGen.__annotate__H   s>     
 


&)Dj
>H4>O
	
r   c                D    \        V \        P                  V4      W#R 7      # ))rL   rC   )r   r   r*   )r%   r   rL   rC   s   &&&&r   r*   ArgumentGen.from_exampleG   s#     '&&s+W
 	
r   r3   NrH   r?   s   @r   rJ   rJ   F   s     
 
r   rJ   c                   <   a  ] tR t^Pt o ]V 3R lR l4       tRtV tR# )FunctionSchemaGenc                p   < V ^8  d   QhRS[ RS[S[S[ S[3,          R3,          RS[S[R3,          RS[/# )r   op_nameexample_inputs.example_outputsr   )r:   r'   r   r   )r   r   s   "r   r   FunctionSchemaGen.__annotate__R   sK     ; ;;eCHos23; sCx; 
	;r   c           
     |   . pV F+  w  rEVP                  \        P                  WER R 4      4       K-  	  \        \	        4       R \	        V4      \	        4       R \	        4       \	        4       4      p\        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      p\        \        V RRR4      R4      p \        WV4      # )Nc              3   P   "   T F  p\         P                  R VR 4      x  K  	  R # 5irF   )rA   r*   ).0outs   & r   	<genexpr>1FunctionSchemaGen.from_example.<locals>.<genexpr>^   s%      
?NI""4d33s   $&F )appendrJ   r*   r   r'   r   r   r   )rS   rT   rU   argsr%   inp	argumentsreturnss   &&&     r   r*   FunctionSchemaGen.from_exampleQ   s     'IDKK00D$GH ( GT5;uw
	 % 
?N
%% 
?N
 
 /uMrRg'::r   r3   NrH   r?   s   @r   rQ   rQ   P   s     ; ;r   rQ   N)typingr   torchgen.modelr   r   r   r   r   r	   r
   r   r   r   r   r   rA   rJ   rQ   r3   r   r   <module>rf      sG       ($8 $8NC C
 
; ;r   