From 15105513e97178818f4c46ab57a7a46cb6768552 Mon Sep 17 00:00:00 2001 From: jayanth Date: Thu, 5 Mar 2020 15:48:53 -0800 Subject: [PATCH] Address reviewer comments --- tensorflow/python/framework/ops.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tensorflow/python/framework/ops.py b/tensorflow/python/framework/ops.py index 41fc82d84e3..6056aadd162 100644 --- a/tensorflow/python/framework/ops.py +++ b/tensorflow/python/framework/ops.py @@ -302,12 +302,13 @@ class Tensor(_TensorLike): * a single data type (float32, int32, or string, for example) * a shape - TensorFlow supports two execution modes: eager and graph. In eager - mode, operations are evaluated immediately. In graph mode, a - computational graph is constructed for later evaluation. + TensorFlow supports eager execution and graph execution. In eager + execution, operations are evaluated immediately. In graph + execution, a computational graph is constructed for later + evaluation. - Eager mode is the default mode in TensorFlow. In the example below, - the matrix multiplication results are calculated immediately. + TensorFlow defaults to eager execution. In the example below, the + matrix multiplication results are calculated immediately. >>> # Compute some values using a Tensor >>> c = tf.constant([[1.0, 2.0], [3.0, 4.0]])