+
    9•üi	
  ã                  ót   € ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^RIHtH	t	H
t
 R t]R8X  d
   ]! 4        R# R# )é    )ÚannotationsN)Úfix_output_shapesÚmake_dim_param_fixedÚmake_input_shape_fixedc                 ó  € \         P                  ! \        P                  P	                  \
        4       R \        P                   2RR7      p V P                  R\        RRR7       V P                  R\        RRR7       V P                  R	\        RR
R7       V P                  RR RRR7       V P                  R\        P                  RR7       V P                  R\        P                  RR7       V P                  4       pVP                  '       d   VP                  '       gÌ   VP                  '       g   VP                  '       d¨   VP                  '       d$   VP                   '       d„   VP                   ^8  gs   VP                  '       d’   VP"                  '       dO   \$        ;QJ d&    R VP"                   4       F  '       g   K   RM	  RM! R VP"                   4       4      '       d2   \'        R4       V P)                  4        \*        P,                  ! R4       \.        P0                  ! \        VP2                  P5                  RR7      4      4      pVP                  '       d-   \7        VP8                  VP                  VP                   4       M+\;        VP8                  VP                  VP"                  4       \=        V4       \.        P>                  ! V\        VP@                  P5                  4       4      4       R# )Ú:zÃ
                                     Assign a fixed value to a dim_param or input shape
                                     Provide either dim_param and dim_value or input_name and input_shape.)Údescriptionz--dim_paramFz8Symbolic parameter name. Provide dim_value if specified.)ÚtypeÚrequiredÚhelpz--dim_valuez:Value to replace dim_param with in the model. Must be > 0.z--input_namezGModel input name to replace shape of. Provide input_shape if specified.z--input_shapec                ó`   € V P                  R 4       Uu. uF  p\        V4      NK  	  up# u upi )Ú,)ÚsplitÚint)ÚxÚis   & Úh/var/www/html/photoedit/myenv/lib/python3.14/site-packages/onnxruntime/tools/make_dynamic_shape_fixed.pyÚ<lambda>Ú1make_dynamic_shape_fixed_helper.<locals>.<lambda>&   s"   € ¨¯©°¬Ó5© 1œ˜Až©Ò5ùÒ5s   ”+z€Shape to use for input_shape. Provide comma separated list for the shape. All values must be > 0. e.g. --input_shape 1,3,256,256Úinput_modelz%Provide path to ONNX model to update.)r
   r   Úoutput_modelz,Provide path to write updated ONNX model to.c              3  ó*   "  € T F	  q^8  x € K  	  R# 5i)é   N© )Ú.0Úvalues   & r   Ú	<genexpr>Ú2make_dynamic_shape_fixed_helper.<locals>.<genexpr>5   s   é € Ð<eÑTdÈ5ÀQ¾YÓTdùs   ‚TzInvalid usage.)ÚstrictNéÿÿÿÿ)!ÚargparseÚArgumentParserÚosÚpathÚbasenameÚ__file__Úmake_dynamic_shape_fixed_helperÚ__name__Úadd_argumentÚstrr   ÚpathlibÚPathÚ
parse_argsÚ	dim_paramÚ
input_nameÚ	dim_valueÚinput_shapeÚanyÚprintÚ
print_helpÚsysÚexitÚonnxÚloadr   Úresolver   Úgraphr   r   Úsaver   )ÚparserÚargsÚmodels      r   r'   r'      s5  € Ü×$Ò$Ü7‰7×ÑœHÓ%Ð
& aÔ(G×(PÑ(PÐ'QÐRðnô€Fð ×ÑØœC¨%Ð6pð ô ð ×ÑØœC¨%Ð6rð ô ð ×ÑØÜØØVð	 ô ð ×ÑØÙ5ØðAð	 ô ð ×Ñ˜¬G¯L©LÐ?fÐÔgØ
×Ñ˜¬W¯\©\Ð@nÐÔoà×ÑÓ€Dð 
ˆ˜DŸOŸO˜OØ—— t§§ ØNNˆN D§N§N N°d·n±nÀqÔ6HØOOˆO T×%5×%5Ð%5¿»Ñ<eÐTX×TdÒTdÓ<e¿¿ºÑ<eÐTX×TdÒTdÓ<e×9eÒ9eäÐÔØ×ÑÔÜŠŒäIŠI”c˜$×*Ñ*×2Ñ2¸$Ð2Ó?Ó@ÓA€Eà‡~‡~€~Ü˜UŸ[™[¨$¯.©.¸$¿.¹.ÕIä˜uŸ{™{¨D¯O©O¸T×=MÑ=MÔNô eÔä‡I‚Iˆe”S˜×*Ñ*×2Ñ2Ó4Ó5Ö6ó    Ú__main__)Ú
__future__r   r!   r#   r+   r5   r7   Úonnx_model_utilsr   r   r   r'   r(   r   r?   r   Ú<module>rC      s:   ðõ #ã Û 	Û Û 
ã ç ]Ñ ]ò57ðp ˆzÔÙ#Ö%ñ r?   