tensorflow git:(ss) ✗ python3 tf.py
2018-11-25 14:18:38.885029: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
0 [[0.01666409 0.09597713]] [0.9344135]
20 [[-0.00183209 0.09145062]] [0.4132346]
40 [[0.06116578 0.15851876]] [0.34322658]
60 [[0.08518092 0.18415783]] [0.3165021]
80 [[0.09434359 0.19395112]] [0.30629987]
100 [[0.09784074 0.19769062]] [0.30240503]
120 [[0.09917571 0.19911835]] [0.30091816]
140 [[0.0996853 0.19966343]] [0.30035052]
160 [[0.09987988 0.19987151]] [0.3001338]
180 [[0.09995414 0.19995095]] [0.3000511]
200 [[0.09998247 0.19998126]] [0.30001953]### 题目描述
只是一个警告,不是报错。
警告的意思是:CPU支持AVX,可以加快你的运行速度。
Advanced Vector Extensions (AVX) are extensions to the x86 instruction set architecture for microprocessors from Intel and AMD proposed by Intel in March 2008 and first supported by Intel with the Sandy Bridge processor shipping in Q1 2011 and later on by AMD with the Bulldozer processor shipping in Q3 2011. AVX provides new features, new instructions and a new coding scheme.
一般情况下直接忽略就可以了