Remove tensorFromBlob() from Type (#18779)
authorRoy Li <royboy@fb.com>
Sun, 7 Apr 2019 08:35:11 +0000 (01:35 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 7 Apr 2019 08:37:43 +0000 (01:37 -0700)
commitf6af76ead7f03b1e75a920d93c3d2d387f5eaef7
treef4cc07d4ec7c5b37ea40e9d6bb585cdd4356a833
parent9b69f21a95fa626522ef371f8557e7286f9db318
Remove tensorFromBlob() from Type (#18779)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18779
ghimport-source-id: e7453b74fcce0e4f4a9cbce0324992a85272a426

Stack from [ghstack](https://github.com/ezyang/ghstack):
* #18780 Remove tensorWithAllocator() from Type
* **#18779 Remove tensorFromBlob() from Type**

Differential Revision: D14739335

fbshipit-source-id: 8a0619a5b412332efa3b2d60c1edebd53d089d50
19 files changed:
aten/src/ATen/DLConvertor.cpp
aten/src/ATen/SparseTensorUtils.h
aten/src/ATen/TensorUtils.cpp
aten/src/ATen/TensorUtils.h
aten/src/ATen/UndefinedType.cpp
aten/src/ATen/UndefinedType.h
aten/src/ATen/core/Type.h
aten/src/ATen/native/Resize.h
aten/src/ATen/native/cuda/TensorTransformations.cu
aten/src/ATen/templates/Functions.h
aten/src/ATen/templates/NativeFunctions.h
aten/src/ATen/templates/Type.h
aten/src/ATen/templates/TypeDefault.cpp
aten/src/ATen/templates/TypeDefault.h
aten/src/ATen/test/atest.cpp
caffe2/contrib/aten/aten_op_template.h
tools/autograd/templates/VariableType.h
torch/csrc/autograd/VariableTypeManual.cpp
torch/csrc/utils/tensor_numpy.cpp