Change Dispatch.h to use ScalarType over Type
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:04 +0000 (16:42 -0800)
commit3aeb78079bcd68282fe9117088e138b77318e288
tree65b87ba47a1c5d67fdd506b73be64851758fd855
parentcc07f968f8b40cef758ad1a09cdec415ad5bd1ba
Change Dispatch.h to use ScalarType over Type

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

Reviewed By: zou3519

Differential Revision: D14235395

fbshipit-source-id: 3f53e33f6794f1f14c2edf79014b8ef8397822c5
82 files changed:
aten/src/ATen/Dispatch.h
aten/src/ATen/detail/ScalarTypeConversions.h
aten/src/ATen/native/Activation.cpp
aten/src/ATen/native/AdaptiveAveragePooling.cpp
aten/src/ATen/native/BatchLinearAlgebra.cpp
aten/src/ATen/native/Copy.cpp
aten/src/ATen/native/Distributions.cpp
aten/src/ATen/native/EmbeddingBag.cpp
aten/src/ATen/native/FractionalMaxPool2d.cpp
aten/src/ATen/native/FractionalMaxPool3d.cpp
aten/src/ATen/native/GridSampler.cpp
aten/src/ATen/native/Lerp.cpp
aten/src/ATen/native/LinearAlgebra.cpp
aten/src/ATen/native/Loss.cpp
aten/src/ATen/native/LossCTC.cpp
aten/src/ATen/native/Normalization.cpp
aten/src/ATen/native/RangeFactories.cpp
aten/src/ATen/native/ReflectionPad.cpp
aten/src/ATen/native/ReplicationPadding.cpp
aten/src/ATen/native/Scalar.cpp
aten/src/ATen/native/SoftMax.cpp
aten/src/ATen/native/Sorting.cpp
aten/src/ATen/native/SummaryOps.cpp
aten/src/ATen/native/TensorCompare.cpp
aten/src/ATen/native/TensorFactories.cpp
aten/src/ATen/native/TensorIterator.h
aten/src/ATen/native/TensorTransformations.cpp
aten/src/ATen/native/TypeProperties.cpp
aten/src/ATen/native/Unique.cpp
aten/src/ATen/native/cpu/Activation.cpp
aten/src/ATen/native/cpu/BinaryOpsKernel.cpp
aten/src/ATen/native/cpu/CopyKernel.cpp
aten/src/ATen/native/cpu/DistanceOpsKernel.cpp
aten/src/ATen/native/cpu/GridSamplerKernel.cpp
aten/src/ATen/native/cpu/IndexKernel.cpp
aten/src/ATen/native/cpu/ReduceOpsKernel.cpp
aten/src/ATen/native/cpu/SoftMaxKernel.cpp
aten/src/ATen/native/cpu/TensorCompareKernel.cpp
aten/src/ATen/native/cpu/UnaryOpsKernel.cpp
aten/src/ATen/native/cuda/Activation.cu
aten/src/ATen/native/cuda/AdaptiveAveragePooling.cu
aten/src/ATen/native/cuda/BatchLinearAlgebra.cu
aten/src/ATen/native/cuda/BinaryOpsKernel.cu
aten/src/ATen/native/cuda/CUDAScalar.cu
aten/src/ATen/native/cuda/Copy.cu
aten/src/ATen/native/cuda/DistanceKernel.cu
aten/src/ATen/native/cuda/Distributions.cu
aten/src/ATen/native/cuda/Dropout.cu
aten/src/ATen/native/cuda/Embedding.cu
aten/src/ATen/native/cuda/EmbeddingBag.cu
aten/src/ATen/native/cuda/FractionalMaxPool2d.cu
aten/src/ATen/native/cuda/FractionalMaxPool3d.cu
aten/src/ATen/native/cuda/GridSampler.cu
aten/src/ATen/native/cuda/IndexKernel.cu
aten/src/ATen/native/cuda/Lerp.cu
aten/src/ATen/native/cuda/Loss.cu
aten/src/ATen/native/cuda/LossCTC.cu
aten/src/ATen/native/cuda/Normalization.cu
aten/src/ATen/native/cuda/RNN.cu
aten/src/ATen/native/cuda/RangeFactories.cu
aten/src/ATen/native/cuda/ReduceOpsKernel.cu
aten/src/ATen/native/cuda/ReflectionPad.cu
aten/src/ATen/native/cuda/ReplicationPadding.cu
aten/src/ATen/native/cuda/SoftMax.cu
aten/src/ATen/native/cuda/SortingKthValue.cu
aten/src/ATen/native/cuda/SpectralOps.cu
aten/src/ATen/native/cuda/SummaryOps.cu
aten/src/ATen/native/cuda/TensorCompare.cu
aten/src/ATen/native/cuda/TensorFactories.cu
aten/src/ATen/native/cuda/TensorTransformations.cu
aten/src/ATen/native/cuda/Unique.cu
aten/src/ATen/native/cuda/WeightNorm.cu
aten/src/ATen/native/mkl/LinearAlgebra.cpp
aten/src/ATen/native/mkl/SpectralOps.cpp
aten/src/ATen/native/sparse/SparseTensor.cpp
aten/src/ATen/native/sparse/SparseTensorMath.cpp
aten/src/ATen/native/sparse/cuda/SparseCUDATensor.cu
aten/src/ATen/native/sparse/cuda/SparseCUDATensorMath.cu
aten/src/ATen/test/apply_utils_test.cpp
aten/src/ATen/test/scalar_test.cpp
test/test_cpp_extensions.py
torch/csrc/TypeInfo.cpp