TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA
生活随笔
收集整理的這篇文章主要介紹了
TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
python環(huán)境之前有,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
總結(jié)
以上是生活随笔為你收集整理的TensorFlow : Mac Python3 TensorFlow binary was not compiled to use: AVX2 FMA的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: c语言已知加速度求位移速度,已知初速度,
- 下一篇: 初中数学分几个模块_初中数学有几部分