警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
问题:
安装TensorFlow(CPU版本),使用pip install tensorflow安装,安装一切顺利,但是在跑一个简单的程序时,遇到如下情况:
大概意思是:你的CPU支持AVX扩展,但是你安装的TensorFlow版本无法编译使用。
原因:
除了通常的算术和逻辑,现代CPU提供了许多低级指令,称为扩展,例如, SSE2,SSE4,AVX等来自维基百科:
高级矢量扩展(AVX)是英...
转载
2018-12-23 18:36:19 ·
297 阅读 ·
0 评论