Remove lazy-initialization in device_context
* Also use `const DeviceContext&` all the time, to prevent `const_cast` Fix #4169 Fix #3468 Fix #3475
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* Also use `const DeviceContext&` all the time, to prevent `const_cast` Fix #4169 Fix #3468 Fix #3475