a
    ÇÀ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< edœ‡ fdd„Zeedœdd„Z	‡  Z
S )ÚVFModuleÚvf)Únamec                    s   t ƒ  |¡ tjj| _d S ©N)ÚsuperÚ__init__ÚtorchZ_CZ_VariableFunctionsr   ©Úselfr   ©Ú	__class__© úE/var/www/html/assistant/venv/lib/python3.9/site-packages/torch/_VF.pyr      s    zVFModule.__init__)r   Ú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
   