有时候我们在使用TensorFlow进行运行代码时,会出现如下信息 Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 这里说我们的电脑是支持AVX AVX2的,但是并没有使用。 为什么出现AVX警告? Tenso…
在pycharm中安装tensorflow后 运行如下测试代码:
import tensorflow as tf
x tf.Variable(3, name"x")
y tf.Variable(4, name"y")
f x*x*y y 2
print(f)发现会报一行错误 Your CPU supports instructions that this TensorFlow binary …