怎么自动使用GPU?
收藏
paddle中怎么自动使用GPU?--怎么编写代码,有GPU自动使用GPU,否则使用CPU
0
收藏
请登录后评论
看看这个有帮助没
https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/05_inference_deployment/inference/native_infer.html#placetype
有帮助,谢谢
启动项目选择GPU
~~
“启动项目选择GPU”,这个似乎计算一定使用的就是GPU?和代码无关了?
嗯,还要在配置中设置use_gpu: true