Skip to content

Commit

Permalink
Remove LightningDataModule from DataLoaderLike
Browse files Browse the repository at this point in the history
  • Loading branch information
borchero committed Dec 26, 2021
1 parent 54aff76 commit 82895c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lightkit/data/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import numpy as np
import numpy.typing as npt
import torch
from pytorch_lightning import LightningDataModule
from torch.utils.data import DataLoader, TensorDataset

T = TypeVar("T")
Expand All @@ -18,7 +17,6 @@
"""

DataLoaderLike = Union[
LightningDataModule,
DataLoader[T],
Sequence[DataLoader[T]],
]
Expand Down

0 comments on commit 82895c4

Please sign in to comment.