pip install tensorflow
pip install tensorflow-cpu
test insall instalation(测试安装是否成功)
python
import tensorflow as tf
tf.add(1, 2).numpy()
hello = tf.constant('Hello, TensorFlow!')
hello.numpy()
pip install tensorflow
pip install tensorflow-cpu
test insall instalation(测试安装是否成功)
python
import tensorflow as tf
tf.add(1, 2).numpy()
hello = tf.constant('Hello, TensorFlow!')
hello.numpy()