Expunge use of type() in Distributions.cpp (#14544)
authorEdward Yang <ezyang@fb.com>
Fri, 30 Nov 2018 00:01:44 +0000 (16:01 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 30 Nov 2018 00:04:14 +0000 (16:04 -0800)
commit9aea856115eae29bb77af8be098b1acc1f48c24a
tree2f3ad7e0fc47bce1f94ecb3fb62bcc9e61b0dc29
parent7879c979b56a0df6cfad21ff231f9241c065b380
Expunge use of type() in Distributions.cpp (#14544)

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

Modern usage is options().  This doesn't have a functional
difference, because all call sites were CPU only (where
getting the device index right doesn't matter.)

Reviewed By: gchanan

Differential Revision: D13258252

fbshipit-source-id: c70f8d618ee9caf37ff2469cceaa439348b6114c
aten/src/ATen/native/Distributions.cpp