From a304225ed143c5e208bfcefda808812f0411643b Mon Sep 17 00:00:00 2001 From: YangWu1227 Date: Sun, 16 Jul 2023 02:19:27 -0500 Subject: [PATCH] fix: inconsistent single host multi-device guide --- site/en/guide/distributed_training.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/en/guide/distributed_training.ipynb b/site/en/guide/distributed_training.ipynb index e59624310cf..fd85fa0028b 100644 --- a/site/en/guide/distributed_training.ipynb +++ b/site/en/guide/distributed_training.ipynb @@ -527,8 +527,7 @@ "\n", "with mirrored_strategy.scope():\n", " model = tf.keras.Sequential([tf.keras.layers.Dense(1, input_shape=(1,))])\n", - "\n", - "model.compile(loss='mse', optimizer='sgd')" + " model.compile(loss='mse', optimizer='sgd')" ] }, {