o
    .wi                     @   s,   d dl mZ d dlmZ G dd deZdS )    )Any)Metricc                   @   s0   e Zd ZdZdededdfddZd
dd	ZdS )_ClassificationTaskWrapperz8Base class for wrapper metrics for classification tasks.argskwargsreturnNc                 O      t | jj d)zUpdate metric state.zM metric does not have a global `update` method. Use the task specific metric.NotImplementedError	__class____name__)selfr   r    r   ]/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/torchmetrics/classification/base.pyupdate      z!_ClassificationTaskWrapper.updatec                 C   r   )zCompute metric.zN metric does not have a global `compute` method. Use the task specific metric.r	   )r   r   r   r   compute   r   z"_ClassificationTaskWrapper.compute)r   N)r   
__module____qualname____doc__r   r   r   r   r   r   r   r      s    r   N)typingr   torchmetrics.metricr   r   r   r   r   r   <module>   s   