U
    Ç9%eƒ  ã                   @   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                       s0   e Zd ZU ejed< ‡ fdd„Zdd„ Z‡  ZS )ÚVFModuleÚvfc                    s   t ƒ  |¡ tjj| _d S ©N)ÚsuperÚ__init__ÚtorchZ_CZ_VariableFunctionsr   )ÚselfÚname©Ú	__class__© úH/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/torch/_VF.pyr      s    zVFModule.__init__c                 C   s   t | j|ƒS r   )Úgetattrr   )r   Úattrr   r   r   Ú__getattr__   s    zVFModule.__getattr__)	Ú__name__Ú
__module__Ú__qualname__ÚtypesÚ
ModuleTypeÚ__annotations__r   r   Ú__classcell__r   r   r
   r   r      s   

r   )Ú__doc__Úsysr   r   r   r   r   Úmodulesr   r   r   r   Ú<module>   s
   