Skip to content

Commit b40ca0e

Browse files
authored
remove unused random_split import from tutorial (#15716)
1 parent 13eb2a1 commit b40ca0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-pytorch/model/train_model_basic.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add the relevant imports at the top of the file
2020
import torch.nn.functional as F
2121
from torchvision import transforms
2222
from torchvision.datasets import MNIST
23-
from torch.utils.data import DataLoader, random_split
23+
from torch.utils.data import DataLoader
2424
import pytorch_lightning as pl
2525
2626
----

0 commit comments

Comments
 (0)