o
    i                     @   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__ K/sda-disk/www/egybert/egybert_env/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    