
    ֧gT                         d dl Z d dlmZ d dlmZ d dlmZ  eed           d Zd Zd Z	 eed	            ee	d
           dS )    N)_Await)_register_builtin)
set_modulez	torch.jitc                 6    t          j        j        | g|R i |S )zpCreate Await object that will call specified functioni with specified args, when it is requested for the result.)torch_C
_awaitable)funcargskwargss      L/var/www/html/ai-engine/env/lib/python3.11/site-packages/torch/jit/_await.pyr	   r	      s%    8t5d555f555    c                 @    t           j                            |           S )zjRequest await the result of execution, if Await is not completed yet, the func will be called immediately.)r   r   _awaitable_wait)aws    r   r   r      s    8##B'''r   c                 @    t           j                            |           S )z-Create completed Await with specified result.)r   r   _awaitable_nowait)os    r   r   r      s    8%%a(((r   zprim::awaitable_waitzprim::awaitable_nowait)
r   torch._jit_internalr   torch.jit._builtinsr   torch.utilsr   r	   r   r    r   r   <module>r      s     & & & & & & 1 1 1 1 1 1 " " " " " " 
6;   6 6 6
( ( (
) ) )
  /#9 : : :  #%= > > > > >r   