Move Scalar and ScalarType to c10/core
authorSebastian Messmer <messmer@fb.com>
Tue, 27 Nov 2018 20:43:22 +0000 (12:43 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 27 Nov 2018 20:59:36 +0000 (12:59 -0800)
commit50e9c56830ba965c9f89abb946d0b7cefad38713
tree4c827fe30d5f7bbdedcf9836ba6a7b3473e45d74
parent3fca4bde50a0ec2b548a6f447aed20a79ac24471
Move Scalar and ScalarType to c10/core

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

Reviewed By: ezyang

Differential Revision: D13015236

fbshipit-source-id: 92aac4e342d85f75a31837b2943fa5b80f0c35c9
13 files changed:
aten/src/ATen/ScalarOps.h
aten/src/ATen/core/Backend.h
aten/src/ATen/core/Scalar.h
aten/src/ATen/core/ScalarType.h
aten/src/ATen/core/TensorImpl.h
aten/src/ATen/core/TensorMethods.h
aten/src/ATen/templates/NativeFunctions.h
aten/src/ATen/templates/TensorMethods.h
c10/core/Scalar.cpp [moved from aten/src/ATen/core/Scalar.cpp with 77% similarity]
c10/core/Scalar.h [new file with mode: 0644]
c10/core/ScalarType.h [new file with mode: 0644]
setup.py
test/cpp/api/tensor.cpp