Move TensorImpl::CopyFrom to caffe2::Tensor (2/2) (#14858)
authorSebastian Messmer <messmer@fb.com>
Fri, 14 Dec 2018 02:38:55 +0000 (18:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Dec 2018 02:41:24 +0000 (18:41 -0800)
commitbb8ee2de0f5dd40bf10f7ea51ee697c9b39d0f6c
tree40da51d9a12195ceff07ba426f56dda6d431d92e
parent070f33f15476bb8b4e62101c374fb65b8b21c000
Move TensorImpl::CopyFrom to caffe2::Tensor (2/2) (#14858)

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

This diff doesn't change logic but just takes the existing code and moves it to caffe2::Tensor

Reviewed By: ezyang

Differential Revision: D13365817

fbshipit-source-id: bc73b27a793602cb14200dcdf357aa63233da43c
c10/core/TensorImpl.h
caffe2/core/tensor.h