Skip to content

Commit e37da05

Browse files
zou3519soumith
authored andcommitted
Expose documentation for random_split (#7676)
Fixes #7640
1 parent 8212f57 commit e37da05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/data.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ torch.utils.data
1212
.. autoclass:: torch.utils.data.SubsetRandomSampler
1313
.. autoclass:: torch.utils.data.WeightedRandomSampler
1414
.. autoclass:: torch.utils.data.distributed.DistributedSampler
15+
.. autofunction:: torch.utils.data.dataset.random_split

0 commit comments

Comments
 (0)