We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfae734 commit 6f3cb1aCopy full SHA for 6f3cb1a
pytorch_lightning/core/datamodule.py
@@ -184,7 +184,7 @@ def dims(self, d):
184
rank_zero_deprecation("DataModule property `dims` was deprecated in v1.5 and will be removed in v1.7.")
185
self._dims = d
186
187
- def size(self, dim=None) -> Union[Tuple, int]:
+ def size(self, dim=None) -> Union[Tuple, List[Tuple]]:
188
"""
189
Return the dimension of each input either as a tuple or list of tuples. You can index this
190
just as you would with a torch tensor.
0 commit comments