Skip to content

Commit 7252502

Browse files
Merge pull request #2133 from harshdhamecha:master
PiperOrigin-RevId: 482008811
2 parents 08b3887 + 17196f2 commit 7252502

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/intro_to_graphs.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@
751751
},
752752
"outputs": [],
753753
"source": [
754-
"print(\"Eager execution:\", timeit.timeit(lambda: power(x, 100), number=1000))"
754+
"print(\"Eager execution:\", timeit.timeit(lambda: power(x, 100), number=1000), \"seconds\")"
755755
]
756756
},
757757
{
@@ -763,7 +763,7 @@
763763
"outputs": [],
764764
"source": [
765765
"power_as_graph = tf.function(power)\n",
766-
"print(\"Graph execution:\", timeit.timeit(lambda: power_as_graph(x, 100), number=1000))"
766+
"print(\"Graph execution:\", timeit.timeit(lambda: power_as_graph(x, 100), number=1000), \"seconds\")"
767767
]
768768
},
769769
{

0 commit comments

Comments
 (0)