+
    9i
                     l    ^ RI t ^ RIHt ^ RIHt ^ RIHt ] P                  ! ]4      t	 ! R R]4      t
R# )    N)Fusion)helper	OnnxModelc                   D   a a ] tR t^t oV3R lV 3R lltR tRtVtV ;t# )FusionQuickGeluc                    < V ^8  d   QhRS[ /# )   modelr   )format__classdict__s   "g/var/www/html/photoedit/myenv/lib/python3.14/site-packages/onnxruntime/transformers/fusion_quickgelu.py__annotate__FusionQuickGelu.__annotate__   s     6 6i 6    c                ,   < \         SV `  VR R.4       R# )	QuickGeluMulN)super__init__)selfr   	__class__s   &&r   r   FusionQuickGelu.__init__   s    eW5r   c                   VP                   R 8w  d   \        P                  R4       R# TpVP                  ^ ,          pV P                  P                  VR.^.4      pVf   \        P                  R4       R# V^ ,          pV P                  P                  VR .^ .4      pVf   \        P                  R4       R# V^ ,          pV P                  P                  VP                  ^,          4      P                  4       p\        VR,
          4      R8  d   \        P                  R4       R# VP                  ^ ,          V8w  d   \        P                  R	4       R# \        P                  ! R
V.VP                  ^ ,          .V P                  P                  R
4      R7      p	RV	n        V	P                  P                  \        P                   ! RV4      .4       V P"                  P                  WvV.4       V P$                  P'                  V	4       V P(                  V P*                  V	P,                  &   V P/                  R
4       R# )r   z/fuse_quickgelu: failed to match second Mul nodeNSigmoidz,fuse_quickgelu: failed to match Sigmoid nodez.fuse_quickgelu: failed to match first Mul nodeg     <?gMbP?z3fuse_quickgelu: failed to match approximation valuezFfuse_quickgelu: failed to match root input with first Mul node's inputr   )inputsoutputsnamezcom.microsoftalpha)op_typeloggerdebuginputr   match_parent_pathget_constant_valueitemabsr   	make_nodeoutputcreate_node_namedomain	attributeextendmake_attributenodes_to_removenodes_to_addappendthis_graph_namenode_name_to_graph_namer   increase_counter)
r   nodeinput_name_to_nodesoutput_name_to_nodesecond_mul_node
root_inputsigmoid_nodefirst_mul_nodeapproximation_valuenew_nodes
   &&&&      r   fuseFusionQuickGelu.fuse   s    <<5 LLJK$**1-
zz33Oi[STRUVLLGH#A55lUGaSQ!LLIJ'*"jj;;N<P<PQR<STYY["\12d:LLNO"j0LLab##<$++A./,,[9	
 *!!6#8#8BU#V"WX##^?$ST  *6:6J6J$$X]]3k*r    )	__name__
__module____qualname____firstlineno__r   r>   __static_attributes____classdictcell____classcell__)r   r   s   @@r   r   r      s     6 67+ 7+r   r   )loggingfusion_baser   onnxr   
onnx_modelr   	getLoggerrA   r!   r   r@   r   r   <module>rM      s/        			8	$;+f ;+r   