o
    Si                     @   s~   d Z z
ddlmZmZ W n ey#   G dd dZG dd dZY nw z	ddlmZ W d
S  ey>   G dd	 d	ZY d
S w )zEMock implementations of torch interfaces when torch is not available.    )
DataLoaderIterableDatasetc                   @      e Zd ZdZdS )r   zDEmpty implementation of IterableDataset when torch is not available.N__name__
__module____qualname____doc__ r
   r
   F/home/ubuntu/.local/lib/python3.10/site-packages/webdataset/pytorch.pyr          r   c                   @   r   )r   z?Empty implementation of DataLoader when torch is not available.Nr   r
   r
   r
   r   r      r   r   )Tensorc                   @   r   )TorchTensorz@Empty implementation of TorchTensor when torch is not available.Nr   r
   r
   r
   r   r      r   r   N)r	   torch.utils.datar   r   ModuleNotFoundErrortorchr   r   r
   r
   r
   r   <module>   s   	