提交 bc7be2aa 编写于 作者: Q qijun

pass precommit

上级 db4d668f
......@@ -167,7 +167,6 @@ All parameter, weight, gradient are variables in Paddle.
-> paddle::platform::DeviceContext* {
#ifdef PADDLE_ONLY_CPU
PADDLE_THROW("'GPUPlace' is not supported in CPU only device.");
#else
return new paddle::platform::CUDADeviceContext(place);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册