Refine CopyFrom interface
Created by: tonyyang-svail
The current CopyFrom
interface looks like this
Since all device_context are globally accessible after https://github.com/PaddlePaddle/Paddle/pull/6537, we are able to refine the API to
inline void CopyFrom(const Tensor& src, Tensor* dst, const platform::Place& dst_place)