Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/en/guide/distributed_training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
"Here's what you need to change in your code:\n",
"\n",
"1. Create an instance of the appropriate `tf.distribute.Strategy`.\n",
"2. Move the creation of Keras model, optimizer and metrics inside `strategy.scope`.\n",
"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",
"\n",
"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",
"\n",
Expand Down