Paddle Question: how/if does TensorFlow's Tensor allocate GPU memory?
I reviewed the details about how
tensorflow::Tensor allocate memory in my note https://github.com/PaddlePaddle/Paddle/wiki/tensorflow::Tensor. However, it seems that it allocate only CPU memory.
@helinwang had thought that
tensorflow::Tensor's constructor might accept a raw pointer to externally allocated GPU memory. But I just checked that the constructor requires an
Allocator object, other than a pointer.