[enhancement] Implement tensor.cpu() in static graph (#55921)
* [enhancement] Implement tensor.cpu() in static graph * [enhancement] Implement tensor.cpu() in static graph * [dy2static] add unitest cases for tensor.cpu() * [dy2static] add unitest cases for tensor.cpu() - run only on paddle compiled with cuda mode * [dy2static]Refine the format of the api-doc for Variable.cpu().
Showing
想要评论请 注册 或 登录