1、理由:
前のステップによると、Win10のラップトップ上ではありません。
1.1、jupyterノート関連インタフェース、以下に示すように:
ZC:フィーリングはまだ問題をtensorflow必要があります
1.2、テストのすべての種類:
ZCは:ここで見つける加算結果のうち、ランダムな数は(このコマンドには応答しません「.....のpython3の-c」、それは...奇妙な感じ)には感じていない、0です。しかし、彼らは大丈夫と感じたバージョンを見て、正常である必要があります...
だから私は、別の言い方をすれば:
$パイソン >>> インポートTFとしてtensorflow ハロー>>> = tf.constant(' こんにちは、TensorFlow!' ) >>>のSES = tf.Session() >>> 印刷(sess.run(ハロー)) こんにちは、TensorFlow ! >>> A = tf.constant(10 ) >>> B = tf.constant(22 ) >>> プリント(sess.run(A + B)) 32 >>>
我是 一句一句将代码复制到Python控制台 然后回车的,在执行到 “sess = tf.Session()”时 报错了:
于是 度娘“Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2”
于是找到了:(有很多的 搜索结果的,只是挑了这个先尝试的)
Your CPU supports instructions that this TensorFlow binary was not compiled to use_ AVX2 FMA - 山中有石为玉 - CSDN博客.html(https://blog.csdn.net/weixin_41770169/article/details/86003010)
解决Tensorflow 使用时cpu编译不支持警告 - Fourierrr_的博客 - CSDN博客.html(https://blog.csdn.net/Fourierrr_/article/details/79749899)
ZC:在github中 看到一个 这个路径:“https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.14.0/cpp” 这里面是专门为 WIndows下的C++准备的?怎么用?以后搜搜...
2、
3、
4、
5、