增加验证示例
This commit is contained in:
parent
ebd7b5a36b
commit
64e9cf00d4
|
@ -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
|
||||||
|
|
||||||
如果能正确打印,则说明安装成功。
|
如果能正确打印,则说明安装成功。
|
||||||
|
|
Loading…
Reference in New Issue