Address reviewer comments

This commit is contained in:
jayanth 2020-03-05 15:48:53 -08:00
parent c854c1df8d
commit 15105513e9

View File

@ -302,12 +302,13 @@ class Tensor(_TensorLike):
* a single data type (float32, int32, or string, for example) * a single data type (float32, int32, or string, for example)
* a shape * a shape
TensorFlow supports two execution modes: eager and graph. In eager TensorFlow supports eager execution and graph execution. In eager
mode, operations are evaluated immediately. In graph mode, a execution, operations are evaluated immediately. In graph
computational graph is constructed for later evaluation. execution, a computational graph is constructed for later
evaluation.
Eager mode is the default mode in TensorFlow. In the example below, TensorFlow defaults to eager execution. In the example below, the
the matrix multiplication results are calculated immediately. matrix multiplication results are calculated immediately.
>>> # Compute some values using a Tensor >>> # Compute some values using a Tensor
>>> c = tf.constant([[1.0, 2.0], [3.0, 4.0]]) >>> c = tf.constant([[1.0, 2.0], [3.0, 4.0]])