Move TensorOptions, DefaultTensorOptions to c10
authorSebastian Messmer <messmer@fb.com>
Thu, 6 Dec 2018 23:52:15 +0000 (15:52 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Dec 2018 23:59:04 +0000 (15:59 -0800)
commitada8f828f9c18461333c07a9caa836af175c60bd
treefc945de7ef43f93da97a7c049b095421f9d870aa
parentbd3eb87258b2eefb6216043def8d65f5ee90f624
Move TensorOptions, DefaultTensorOptions to c10

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

Reviewed By: ezyang

Differential Revision: D13318644

fbshipit-source-id: b703d7dc67e75d9e9571c80d62a100c5fc4e84df
12 files changed:
aten/src/ATen/core/DefaultDtype.h [deleted file]
aten/src/ATen/core/Tensor.h
aten/src/ATen/core/TensorMethods.h
aten/src/ATen/core/TensorOptions.h
aten/src/ATen/templates/Tensor.h
aten/src/ATen/templates/TensorMethods.h
c10/core/DefaultDtype.cpp [moved from aten/src/ATen/core/DefaultDtype.cpp with 69% similarity]
c10/core/DefaultDtype.h [new file with mode: 0644]
c10/core/DefaultTensorOptions.h [new file with mode: 0644]
c10/core/TensorOptions.cpp [moved from aten/src/ATen/core/TensorOptions.cpp with 87% similarity]
c10/core/TensorOptions.h [new file with mode: 0644]
tools/autograd/templates/Functions.cpp