[Pten] Refactor the copy kernel (#39731)
* remove SetAllocationForOutputTenosr * add place param for copy kernel * recover SetAllocationForOutputTenosr * polish code * fix empty_dev api bug * test=allcases * test=allcases * fix bug * recover empty * recover modify
Showing
想要评论请 注册 或 登录