[XPU][NPU] (1) add device_guard. (2) add support for LoDTensorArray of sum op. (#44367)
* device_guard support xpu. test=kunlun * sum op of xpu support LoDTensorArray. add test for while op of xpu. test=kunlun.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* device_guard support xpu. test=kunlun * sum op of xpu support LoDTensorArray. add test for while op of xpu. test=kunlun.