o
    üÇh˜  ã                   @   s@   d Z ddlZddlZddlZG dd„ dejƒZeeƒeje< dS )a8  
This makes the functions in torch._C._VariableFunctions available as
    torch._VF.<funcname>
without mypy being able to find them.

A subset of those functions are mapped to ATen functions in
torch/jit/_builtins.py

See https://github.com/pytorch/pytorch/issues/21478 for the reason for
introducing torch._VF

é    Nc                       s@   e Zd ZU ejed< def‡ fdd„Zdedefdd„Z	‡  Z
S )ÚVFModuleÚvfÚnamec                    s   t ƒ  |¡ tjj| _d S ©N)ÚsuperÚ__init__ÚtorchÚ_CÚ_VariableFunctionsr   ©Úselfr   ©Ú	__class__© ú]/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/torch/_VF.pyr      s   zVFModule.__init__Úreturnc                 C   s   t | j|ƒS r   )Úgetattrr   r   r   r   r   Ú__getattr__   s   zVFModule.__getattr__)Ú__name__Ú
__module__Ú__qualname__ÚtypesÚ
ModuleTypeÚ__annotations__Ústrr   Úobjectr   Ú__classcell__r   r   r   r   r      s   
 
r   )Ú__doc__Úsysr   r   r   r   r   Úmodulesr   r   r   r   Ú<module>   s    