增加验证示例

This commit is contained in:
lion187 2019-03-13 17:43:32 +08:00
parent ebd7b5a36b
commit 64e9cf00d4
1 changed files with 4 additions and 0 deletions

View File

@ -55,5 +55,9 @@
>>> sess = tf.Session() >>> sess = tf.Session()
>>> print(sess.run(hello)) >>> print(sess.run(hello))
Hello, TensorFlow! Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> print sess.run(a+b)
42
如果能正确打印,则说明安装成功。 如果能正确打印,则说明安装成功。