Add torch.bincount() test case on sliced tensor (#15835)
authorzou3519 <zou3519@gmail.com>
Wed, 9 Jan 2019 15:28:40 +0000 (07:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 9 Jan 2019 15:31:19 +0000 (07:31 -0800)
commitf0c2a9a7b68f77841ba112088deedcd01ddc978a
tree726e8fe1c2ee4c8d74cc4819166d2b3f1264ec8d
parent961f829067af733ccd4a4aea80b5192c385d9400
Add torch.bincount() test case on sliced tensor (#15835)

Summary:
This was causing a problem in #15735 but appears to have been fixed.
Adding this test to prevent regressions.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15835

Differential Revision: D13600282

Pulled By: zou3519

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