pytorch/torch/utils/data
bhushan a6c4ea66dd Passing indices as a list to Subset instead of Tensor (#17649)
Summary:
Indices in Subset were stored as tensors earlier
passing as list in random_split to ensure integer indexing

fixes: #17466
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17649

Differential Revision: D14400250

Pulled By: soumith

fbshipit-source-id: cd20a959f33773c4babf8e861ea37ec61c2713a0
2019-03-10 09:23:53 -07:00
..
_utils Make pin_memory and default_collate preserve namedtuples (#16440) 2019-02-11 08:47:33 -08:00
__init__.py Refactor dataloader.py (#15331) 2018-12-19 12:36:03 -08:00
dataloader.py Minor typo 2019-02-12 08:02:04 -08:00
dataset.py Passing indices as a list to Subset instead of Tensor (#17649) 2019-03-10 09:23:53 -07:00
distributed.py (#12474) 2018-10-09 11:23:50 -07:00
sampler.py Add example to WeightedRandomSampler doc string (#17432) 2019-02-23 20:29:06 -08:00