Skip to content

Commit

Permalink
fix batch typo
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jun 29, 2020
1 parent 593837e commit 92d1e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/utilities/apply_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if TORCHTEXT_AVAILABLE:
from torchtext.data import Batch
else:
Batch = None
Batch = type(None)


def apply_to_collection(data: Any, dtype: Union[type, tuple], function: Callable, *args, **kwargs) -> Any:
Expand Down

0 comments on commit 92d1e75

Please sign in to comment.