Add test for #17271 (torch.exp incorrect for 2**31 size tensor) (#18292)
authorEdward Yang <ezyang@fb.com>
Fri, 22 Mar 2019 14:46:50 +0000 (07:46 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Mar 2019 14:50:38 +0000 (07:50 -0700)
commite3da16a99eb4b475a90fe424eaf9156c3f7370f4
tree5466e19e5061d5f60d065bfcbb0d12f5c78b5f2c
parent2934153f3508ac1710f358677d83de72789bb275
Add test for #17271 (torch.exp incorrect for 2**31 size tensor) (#18292)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18292
ghimport-source-id: a3e96584db0eef7b6202a1211808f9f6e59dd529

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18292 Add test for #17271 (torch.exp incorrect for 2**31 size tensor)**
* #18291 Correctly call superclass setUp in TestCase subclasses.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Differential Revision: D14567642

fbshipit-source-id: c60ee7597a86f5d2c5c0b72cb106f17815950427
test/test_torch.py