Skip to content

Commit a2bc948

Browse files
Merge pull request #1906 from rabinadk1:patch-1
PiperOrigin-RevId: 378748819
2 parents d14b088 + 075edae commit a2bc948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/tpu.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
"id": "8hSGBIYtUugJ"
349349
},
350350
"source": [
351-
"To reduce Python overhead and maximize the performance of your TPU, pass in the **experimental** argument—`experimental_steps_per_execution`—to `Model.compile`. In this example, it increases throughput by about 50%:"
351+
"To reduce Python overhead and maximize the performance of your TPU, pass in the argument—`steps_per_execution`—to `Model.compile`. In this example, it increases throughput by about 50%:"
352352
]
353353
},
354354
{
@@ -363,7 +363,7 @@
363363
" model = create_model()\n",
364364
" model.compile(optimizer='adam',\n",
365365
" # Anything between 2 and `steps_per_epoch` could help here.\n",
366-
" experimental_steps_per_execution = 50,\n",
366+
" steps_per_execution = 50,\n",
367367
" loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),\n",
368368
" metrics=['sparse_categorical_accuracy'])\n",
369369
"\n",

0 commit comments

Comments
 (0)