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