Update datamodules.rst (#3026)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
5dfc7b157e
commit
321fb8b7c0
|
@ -73,8 +73,6 @@ The equivalent DataModule just organizes the same exact code, but makes it reusa
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
DataLoader(self.mnist_train, batch_size=32)
|
||||
|
||||
class MNISTDataModule(pl.LightningDataModule):
|
||||
|
||||
def __init__(self, data_dir: str = PATH, batch_size):
|
||||
|
|
Loading…
Reference in New Issue