Skip to content

Commit a0378e4

Browse files
Update distributed_training.ipynb
1 parent 4599725 commit a0378e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/guide/distributed_training.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@
508508
"Here's what you need to change in your code:\n",
509509
"\n",
510510
"1. Create an instance of the appropriate `tf.distribute.Strategy`.\n",
511-
"2. Move the creation of Keras model, optimizer and metrics inside `strategy.scope`. Thus the code in the model's `run()`, `train_step()`, and `test_step()` methods will all be distributed and executed on the accelerator(s).\n",
511+
"2. Move the creation of Keras model, optimizer and metrics inside `strategy.scope`. Thus the code in the model's `call()`, `train_step()`, and `test_step()` methods will all be distributed and executed on the accelerator(s).\n",
512512
"\n",
513513
"TensorFlow distribution strategies support all types of Keras models—[Sequential](/keras/sequential_model.ipynb), [Functional](/keras/functional.ipynb), and [subclassed](/keras/custom_layers_and_models.ipynb).\n",
514514
"\n",

0 commit comments

Comments
 (0)