§
    l¬¸j!  ã                   óÖ   — d dl mZ dZdZdZefd„Z eee¬¦  «        Z eee¬¦  «        Z eee¬¦  «        Z	dd„Z
ed	k    r& ed
d¦  «          ed
d¦  «          e	d
d¦  «         dS dS )é    )ÚIterableÚ91mÚ92mÚ93mc                 ó   ‡ ‡— ˆˆ fd„}|S )z_A decorator to print text in the specified terminal color by wrapping the given print function.c                  ób   •— t          d‰› �d¬¦  «          ‰| i |¤Ž t          dd¬¦  «         d S )Nz[Ú )Úendz[00m)Úprint)ÚargsÚkwargsÚcolorÚfn_prints     €€úZ/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/thop/utils.pyÚactual_callz#colorful_print.<locals>.actual_call   sJ   ø€ Ýˆo�eˆoˆo 2Ð&Ñ&Ô&Ð&Øˆ�$Ð!˜&Ð!Ð!Ð!Ýˆj˜bÐ!Ñ!Ô!Ð!Ð!Ð!ó    © )r   r   r   s   `` r   Úcolorful_printr   
   s*   øø€ ð"ð "ð "ð "ð "ð "ð
 Ðr   )r   ú%.2fc                 ó,  — t          | t          ¦  «        s| g} g }| D ]X}dD ]8\  }}t          |¦  «        |k    r |                     |||z  z  |z   ¦  «          nŒ9|                     ||z  dz   ¦  «         ŒYt	          |¦  «        dk    r|d         ng |¢R S )z]Formats numbers into human-readable strings with units (K for thousand, M for million, etc.).))ÚTg   ¢”mB)ÚGg    eÍÍA)ÚMg    €„.A)ÚKg     @�@ÚBé   r   )Ú
isinstancer   ÚabsÚappendÚlen)ÚnumsÚformatÚclever_numsÚnumÚunitÚscales         r   Úclever_formatr'      sÇ   € å�d�HÑ%Ô%ð ØˆvˆØ€Kàð 3ð 3ˆØLð 	3ð 	3‰KˆD�%õ �3‰xŒx˜5Ò Ð Ø×"Ò" 6¨S°5©[Ñ#9¸DÑ#@ÑAÔAÐAØ�ð !ð ×Ò˜v¨™|¨cÑ1Ñ2Ô2Ð2øå  Ñ-Ô-°Ò2Ð2ˆ;�qŒ>ˆ>¸¸+¸¸ÐGr   Ú__main__ÚhelloÚworldN)r   )Úcollections.abcr   Ú	COLOR_REDÚCOLOR_GREENÚCOLOR_YELLOWr   r   ÚprRedÚprGreenÚprYellowr'   Ú__name__r   r   r   ú<module>r3      sè   ðð %Ð $Ð $Ð $Ð $Ð $à€	Ø€Ø€ð $-ð ð ð ð ð 	ˆ�u IÐ.Ñ.Ô.€Ø
ˆ.˜ kÐ
2Ñ
2Ô
2€Øˆ>˜% |Ð4Ñ4Ô4€ðHð Hð Hð Hð& ˆzÒÐØ	€Eˆ'�7ÑÔÐØ€GˆG�WÑÔÐØ€HˆW�gÑÔÐÐÐð Ðr   