Added numpy conversion (#18505)
authorIurii Zdebskyi <iuriiz@fb.com>
Wed, 3 Apr 2019 14:22:38 +0000 (07:22 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 Apr 2019 14:28:24 +0000 (07:28 -0700)
commit48f70ea0a2a3a408c14642419271999663b65ed9
treedb0117e7f20895d6a8d32346ec45dde06a8c3ef5
parent7349dbb7ce09e0810980cbb2aeb0bbd9aa0757ad
Added numpy conversion (#18505)

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

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18505 [WIP]Added numpy conversion**
* #18166 Bool Tensor for CUDA

Differential Revision: D14646403

fbshipit-source-id: 79d39d692c778ce1981c1d35b1c33e3d93111041
c10/core/ScalarType.h
test/common_utils.py
test/test_torch.py
tools/autograd/templates/python_variable_methods.cpp
torch/csrc/utils/tensor_numpy.cpp