Avoid an unnecessary list creation in `DataChunk` (#64111)
authorSantiago Castro <sacastro@umich.edu>
Tue, 31 Aug 2021 02:17:21 +0000 (19:17 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 31 Aug 2021 02:25:42 +0000 (19:25 -0700)
commit6b85c99ce562cf81749e5efc49bd835041e43f92
treeef0bdc2a44308f0ee5e647caeedc293bb400eee4
parentc7c711bfb88fcb0ef573125a5a8655c49156055b
Avoid an unnecessary list creation in `DataChunk` (#64111)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64111

Reviewed By: mruberry

Differential Revision: D30639383

Pulled By: ezyang

fbshipit-source-id: 96b243307413c99a67d55d862a71937e1ef210f4
torch/utils/data/dataset.py