U
    ‰d{  ã                   @   s*   d dl Zdd„ Zdd„ Zedœdd„ZdS )	é    Nc                   C   s   t jj ¡  dS )zResets all metric counters.N)ÚtorchÚ_CÚ_lazyZ_reset_metrics© r   r   ú7/tmp/pip-unpacked-wheel-ua33x9lu/torch/_lazy/metrics.pyÚreset   s    r   c                   C   s   t jj ¡ S )z1Retrieves all the currently active counter names.)r   r   r   Z_counter_namesr   r   r   r   Úcounter_names   s    r   ©Únamec                 C   s   t jj | ¡S )z7Return the value of the counter with the speficied name)r   r   r   Z_counter_valuer	   r   r   r   Úcounter_value   s    r   )Ztorch._C._lazyr   r   r   Ústrr   r   r   r   r   Ú<module>   s   