pytorch/torch/utils/data
Mohamad H. Danesh d1d6dc2e3c Add more specific error message (#46905)
Summary:
While using `torch.utils.data.TensorDataset`, if sizes of tensors mismatch, there's now a proper error message.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/46905

Reviewed By: ngimel

Differential Revision: D24565712

Pulled By: mrshenli

fbshipit-source-id: 98cdf189591c2a7a1b693627cc8464e8f553d9ee
2020-10-30 16:03:44 -07:00
..
_utils Define objects using classes instead of namedtuples in torch.utils.data._utils.worker (#45870) 2020-10-07 15:03:38 -07:00
__init__.py Add ShuffleDataset with buffer (#45290) 2020-09-30 07:58:15 -07:00
dataloader.py add warning if DataLoader is going to create excessive number of thread (#46867) 2020-10-30 07:54:23 -07:00
dataset.py Add more specific error message (#46905) 2020-10-30 16:03:44 -07:00
distributed.py Fix possible padding length overflow in DistributedSampler (#45329) 2020-10-14 17:19:44 -07:00
sampler.py Revert D23725053: [pytorch][PR] change self.generator to generator 2020-09-17 09:42:37 -07:00