Fix missing import sys in pin_memory.py (#19419)
authorSsnL <tongzhou.wang.1994@gmail.com>
Fri, 19 Apr 2019 05:16:05 +0000 (22:16 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Apr 2019 05:19:26 +0000 (22:19 -0700)
commit941ccd6b35d21ce7d474be4f288ad84f27854467
tree822ea9495a0c3a6dbc03e8ab66468c24a8fb0479
parent940caed0d47aa7001308e7f64fd5000d06abd618
Fix missing import sys in pin_memory.py (#19419)

Summary:
kostmo pointed this out in #15331. Thanks :)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19419

Differential Revision: D15002846

Pulled By: soumith

fbshipit-source-id: c600fab3f7a7a5147994b9363910af4565c7ee65
torch/utils/data/_utils/pin_memory.py