B
    ๐ปd  ใ               @   s$   d Z ddlZG dd dejdZdS )z'Python TFLite metrics helper interface.้    Nc               @   sr   e Zd ZdZejdd Zejdd Zejdd Zejdd	 Z	ejd
d Z
ejdd Zejdd ZdS )ฺTFLiteMetricsInterfacez!Abstract class for TFLiteMetrics.c             C   s   t d S )N)ฺNotImplementedError)ฺselfฉ r   ๚b/var/www/html/venv/lib/python3.7/site-packages/tensorflow/lite/python/metrics/metrics_interface.pyฺ"increase_counter_debugger_creation   s    z9TFLiteMetricsInterface.increase_counter_debugger_creationc             C   s   t d S )N)r   )r   r   r   r   ฺ%increase_counter_interpreter_creation   s    z<TFLiteMetricsInterface.increase_counter_interpreter_creationc             C   s   t d S )N)r   )r   r   r   r   ฺ"increase_counter_converter_attempt   s    z9TFLiteMetricsInterface.increase_counter_converter_attemptc             C   s   t d S )N)r   )r   r   r   r   ฺ"increase_counter_converter_success"   s    z9TFLiteMetricsInterface.increase_counter_converter_successc             C   s   t d S )N)r   )r   ฺnameฺvaluer   r   r   ฺset_converter_param&   s    z*TFLiteMetricsInterface.set_converter_paramc             C   s   t d S )N)r   )r   Z
error_datar   r   r   ฺset_converter_error*   s    z*TFLiteMetricsInterface.set_converter_errorc             C   s   t d S )N)r   )r   r   r   r   r   ฺset_converter_latency.   s    z,TFLiteMetricsInterface.set_converter_latencyN)ฺ__name__ฺ
__module__ฺ__qualname__ฺ__doc__ฺabcฺabstractmethodr   r   r	   r
   r   r   r   r   r   r   r   r      s   r   )ฺ	metaclass)r   r   ฺABCMetar   r   r   r   r   ฺ<module>   s   