[PTen]Support AllocateFrom in Tensor and Alloc/HostAlloc in Context (#39022)
* Support allocate_from in Tensor and allocate_data in Context * fix #ifdef CUDA * fix cycle depends * fix test_xxx_dev_api failed * fix windows compiling error * fix unittest * modify into PImpl * fix selected rows * add TODO comment * refine interface according reviewer
Showing
想要评论请 注册 或 登录