+
    &jc                        ^ RI Ht ^ RIHu Ht ^ RIHu Ht ^ RIHt ^ RI	H
t
 ^ RIHtHtHt ^ RIHt R R lt]
R	 R
 l4       t]
R R l4       t]
R R l4       tR# )    )annotationsN)kernel_signature)with_native_function_and_index)BackendIndexNativeFunctionNativeFunctionsGroup)mapMaybec                    V ^8  d   QhRRRR/# )   bankend_indexr   returnstr )formats   "v/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torchgen/dest/native_functions.py__annotate__r      s      \ c     c                    V P                   '       d   R # RR/pVP                  V P                  P                  R4      R,           # ) XPUTORCH_XPU_API	TORCH_API )externalgetdispatch_keyname)r   !device_torch_api_key_word_mappings   & r   torch_api_key_word_prefixr      sP     	)%
 	*--&&++[	
 	r   c               $    V ^8  d   QhRRRRRR/# )r   fr   backend_indexr   r   z
str | Noner   )r   s   "r   r   r   !   s!     	= 	= 	=| 	=
 	=r   c                    \        W4      pVP                  V 4      pVf   R # RVP                  9   d   R # VP                  '       d   RMRpV RVP	                  VP                  R7       R2# )Nzlegacy::staticr   r   )r   ;)r   
get_kernelkernelr   decl)r!   r"   sigmetadataprefixs   &&   r   gen_unstructuredr,       si    
1
,C''*HX__$*33338889:!<<r   c               $    V ^8  d   QhRRRRRR/# )r   gr   r"   r   r   	list[str]r   )r   s   "r   r   r   .   s"      * < I r   c                    \         P                  ! V 4      p\        P                  ! V 4      pVP	                  V 4      pVf   . # \        V4      pRV RVP                   RV RRP                  R V 4       4       R2	.# )Nzstruct structured_z : public at::meta::structured_z {
void impl(z, c              3  @   "   T F  qP                  4       x  K  	  R # 5iN)r(   ).0as   & r   	<genexpr>!gen_structured.<locals>.<genexpr>8   s     0x!VVXXxs   z);
};
)metar   
structuredimpl_argumentsr&   r   r'   join)r.   r"   	meta_nameout_argsr*   r+   s   &&    r   gen_structuredr>   -   s    		!I((+H''*H	&}5Fx{8??++J9+ V990x00
1 2	 r   c               $    V ^8  d   QhRRRRRR/# )r   r.   z%NativeFunctionsGroup | NativeFunctionr"   r   r   r/   r   )r   s   "r   r   r   A   s$     ( (,(=I((r   c                H  a SP                  V 4      p\        V \        4      '       dg   Ve<   VP                  '       d*   SP                  '       d   \        R4      h\        V S4      # \        \        V3R lV P                  4       4      4      # \        V S4      pVf   . # V.# )Nz>Structured external backend functions are not implemented yet.c                   < \        V S4      # r3   )r,   )r!   r"   s   &r   <lambda>5compute_native_function_declaration.<locals>.<lambda>P   s    #3A}#Er   )r&   
isinstancer   r9   r   AssertionErrorr>   listr	   	functionsr,   )r.   r"   r*   xs   &f  r   #compute_native_function_declarationrI   @   s     ''*H!)**H$7$7$7%%%$T  &a77Eq{{}U  Q.Yr'QC'r   )
__future__r   torchgen.api.metaapir8   torchgen.api.structuredr9   torchgen.api.typesr   torchgen.contextr   torchgen.modelr   r   r   torchgen.utilsr	   r   r,   r>   rI   r   r   r   <module>rR      sd    "     , , / ; M M #*  	=  	=    $  (  (r   