o
    ûÇh!  ã                   @   s2   d dl Zdd„ Zdd„ Zdefdd„Zd	d
„ ZdS )é    Nc                   C   s   t jj ¡  dS )zResets all metric counters.N)ÚtorchÚ_CÚ_lazyÚ_reset_metrics© r   r   úg/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/torch/_lazy/metrics.pyÚreset   s   r   c                   C   ó   t jj ¡ S )z1Retrieves all the currently active counter names.)r   r   r   Ú_counter_namesr   r   r   r   Úcounter_names
   ó   r   Únamec                 C   s   t jj | ¡S )z7Return the value of the counter with the speficied name)r   r   r   Ú_counter_value)r   r   r   r   Úcounter_value   s   r   c                   C   r	   )z9Return the combined (lazy core and backend) metric report)r   r   r   Ú_metrics_reportr   r   r   r   Úmetrics_report   r   r   )Útorch._C._lazyr   r   r   Ústrr   r   r   r   r   r   Ú<module>   s
   