pip install tensorflow
启动终端,输入python
输入以下代码:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
pip install tensorflow
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
本文标题:tensorflow基于ubuntu下环境搭建
本文链接:https://www.haomeiwen.com/subject/fjevixtx.html
网友评论