add varbasecopy func to fix the ParamBase type bug in layers.to API (#32789)
* add varbasecopy func to fix the paraBase type bug in layers.to API * overload _copy_to func for ParamBase * add xpuplace * add waiting varbsecopy completion when not blocking * fix dst_device bug * modify varbase to shared_ptr
Showing
想要评论请 注册 或 登录