TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA
生活随笔
收集整理的這篇文章主要介紹了
TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
python環境之前有,python版本?Python 3.6.4
import tensorflow as tf a = tf.add(3,5) print(a) sess = tf.Session() r = sess.run(a) print(r)2018-05-08 22:14:06.687962: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf a = tf.add(3,5) print(a) #Tensor("Add:0", shape=(), dtype=int32) sess = tf.Session() r = sess.run(a) print(r) #8
總結
以上是生活随笔為你收集整理的TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c语言已知加速度求位移速度,已知初速度,
- 下一篇: 有人用python抢到过吗_再不看就晚了