Skip to content

Commit 0aeef4b

Browse files
authored
Apply suggestion: "tpu='local'".
1 parent fc4112c commit 0aeef4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/guide/tpu.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
},
129129
"outputs": [],
130130
"source": [
131-
"resolver = tf.distribute.cluster_resolver.TPUClusterResolver()\n",
131+
"resolver = tf.distribute.cluster_resolver.TPUClusterResolver(tpu='local')\n",
132132
"tf.config.experimental_connect_to_cluster(resolver)\n",
133133
"# This is the TPU initialization code that has to be at the beginning.\n",
134134
"tf.tpu.experimental.initialize_tpu_system(resolver)\n",

0 commit comments

Comments
 (0)