U
    ‰dº  ã                   @   s4   d d„ Z dd„ Zdd„ Zdd„ Zdd	„ Zd
d„ ZdS )c                 C   s   | S ©N© ©Údatar   r   ú5/tmp/pip-unpacked-wheel-ua33x9lu/torch/jit/_pickle.pyÚbuild_intlist
   s    r   c                 C   s   | S r   r   r   r   r   r   Úbuild_tensorlist   s    r   c                 C   s   | S r   r   r   r   r   r   Úbuild_doublelist   s    r   c                 C   s   | S r   r   r   r   r   r   Úbuild_boollist   s    r	   c                 C   s   t | tƒr| S d S r   )Ú
isinstanceÚintr   r   r   r   Úbuild_tensor_from_id   s    
r   c                 C   s   | S r   r   )ÚvalueZtype_strr   r   r   Úrestore_type_tag    s    r   N)r   r   r   r	   r   r   r   r   r   r   Ú<module>
   s
   