From 4183d0a284b2b682b78937ac814b1daa926be032 Mon Sep 17 00:00:00 2001 From: ssyrain Date: Sat, 30 Jul 2016 00:29:09 +0800 Subject: [PATCH] Update index.md (#3564) --- tensorflow/g3doc/how_tos/using_gpu/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/g3doc/how_tos/using_gpu/index.md b/tensorflow/g3doc/how_tos/using_gpu/index.md index e3e16fa5752..47f14a95189 100644 --- a/tensorflow/g3doc/how_tos/using_gpu/index.md +++ b/tensorflow/g3doc/how_tos/using_gpu/index.md @@ -58,7 +58,7 @@ within that context will have the same device assignment. with tf.device('/cpu:0'): a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a') b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b') -c = tf.matmul(a, b) + c = tf.matmul(a, b) # Creates a session with log_device_placement set to True. sess = tf.Session(config=tf.ConfigProto(log_device_placement=True)) # Runs the op.