Store ScalarType and Backend instead of Type in TensorIterator
authorRoy Li <royboy@fb.com>
Thu, 4 Apr 2019 09:21:09 +0000 (02:21 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 4 Apr 2019 09:24:16 +0000 (02:24 -0700)
commitf5741eb855f8cc016da4a7a166ed6babf8f3de40
treedbb3d9c146f68d8b2a6964342659f66701fde831
parentc705d9eb1edd68ddb6e39160a1ac92d011ebcec4
Store ScalarType and Backend instead of Type in TensorIterator

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

Reviewed By: ezyang

Differential Revision: D14274754

fbshipit-source-id: b08880ae586b6ae57d4c0bbeb203796d087926c4
aten/src/ATen/native/Indexing.cpp
aten/src/ATen/native/TensorIterator.cpp
aten/src/ATen/native/TensorIterator.h
test/test_cuda.py