<filename>pyDF-data/libdfdata/__init__.py
from .libdfdata import _FdDataLoader, _TdDataLoader

has_torch = False
try:
    import torch  # noqa

    has_torch = True
except ImportError:
    pass

if has_torch:
    from .torch_dataloader import PytorchDataLoader

__all__ = ["PytorchDataLoader", "_FdDataLoader", "_TdDataLoader"]

<filename>pyDF-data/libdfdata/__init__.py
from .libdfdata import _FdDataLoader, _TdDataLoader

has_torch = False
try:
    import torch  # noqa

    has_torch = True
except ImportError:
    pass

if has_torch:
    from .torch_dataloader import PytorchDataLoader

__all__ = ["PytorchDataLoader", "_FdDataLoader", "_TdDataLoader"]
