Remove some simple use cases of Type::ScalarType()
authorRoy Li <royboy@fb.com>
Sat, 9 Mar 2019 00:39:04 +0000 (16:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 9 Mar 2019 00:42:05 +0000 (16:42 -0800)
commit65b00aa5972e23b2a70aa60dec5125671a3d7153
tree03150a758d23e82469519bf93356886353e5cb75
parent3aeb78079bcd68282fe9117088e138b77318e288
Remove some simple use cases of Type::ScalarType()

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

Reviewed By: ezyang

Differential Revision: D14237932

fbshipit-source-id: be633a1fc19215d53cfe083fdd7196acf2b7dd2f
aten/src/ATen/DLConvertor.cpp
aten/src/ATen/cudnn/Descriptors.cpp
aten/src/ATen/miopen/Descriptors.cpp
aten/src/ATen/native/Indexing.cpp
aten/src/ATen/native/PackedSequence.cpp
torch/csrc/cuda/nccl.cpp
torch/csrc/cuda/nccl.h
torch/csrc/cuda/python_nccl.cpp
torch/csrc/nn/type_checks.h
torch/csrc/utils/tensor_list.cpp
torch/csrc/utils/tensor_numpy.cpp