o
    to™iŽ  ã                   @  s6   d dl mZ d dlmZ ddd„ZG dd„ deƒZdS )	é    )Úannotations)ÚOpRunAiOnnxMlNc                 C  s   | |k  | j¡fS ©N)ÚastypeÚdtype)ÚxÚ	threshold© r	   ú\/home/ubuntu/.local/lib/python3.10/site-packages/onnx/reference/ops/aionnxml/op_binarizer.pyÚcompute_binarizer	   s   r   c                   @  s   e Zd Zddd„ZdS )Ú	BinarizerNc                 C  s
   t ||ƒS r   )r   )Úselfr   r   r	   r	   r
   Ú_run   s   
zBinarizer._runr   )Ú__name__Ú
__module__Ú__qualname__r   r	   r	   r	   r
   r      s    r   r   )Ú
__future__r   Ú,onnx.reference.ops.aionnxml._op_run_aionnxmlr   r   r   r	   r	   r	   r
   Ú<module>   s   
