2018-12-28 | 摸鱼,解决cudnn问题

2019-01-02  本文已影响4人  大魔王是本人

中文blog害人…在某blog上copy的test.py显示了GpuElemwise,但是print的是used cpu

在github上某评论:The first line write GpuElemwise. This mean it is really executed on the GPU. The device "none" in the output just mean that it is an unnamed device. The Theano flag "contexts" (or "context", I forgot) allow to give name to context to help multi-GPU in the same process. This isn't a ready to use. But the none isn't a problem, it mean the device was initialized.

在theano官网看测试是使用cpu还是gpu的时候有类似的warning,好像没什么影响。不管了。

上一篇下一篇

猜你喜欢

热点阅读