
    sg!                     *    d dl Zd Zd ZdefdZd Zy)    Nc                  T    t         j                  j                  j                          y)zResets all metric counters.N)torch_C_lazy_reset_metrics     F/var/www/html/venv/lib/python3.12/site-packages/torch/_lazy/metrics.pyresetr      s    	HHNN!!#r	   c                  R    t         j                  j                  j                         S )z1Retrieves all the currently active counter names.)r   r   r   _counter_namesr   r	   r
   counter_namesr   
   s    88>>((**r	   namec                 T    t         j                  j                  j                  |       S )z7Return the value of the counter with the speficied name)r   r   r   _counter_value)r   s    r
   counter_valuer      s    88>>((..r	   c                  R    t         j                  j                  j                         S )z9Return the combined (lazy core and backend) metric report)r   r   r   _metrics_reportr   r	   r
   metrics_reportr      s    88>>))++r	   )torch._C._lazyr   r   r   strr   r   r   r	   r
   <module>r      s#    $
+
/ /
,r	   