We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4112c commit 0aeef4bCopy full SHA for 0aeef4b
site/en/guide/tpu.ipynb
@@ -128,7 +128,7 @@
128
},
129
"outputs": [],
130
"source": [
131
- "resolver = tf.distribute.cluster_resolver.TPUClusterResolver()\n",
+ "resolver = tf.distribute.cluster_resolver.TPUClusterResolver(tpu='local')\n",
132
"tf.config.experimental_connect_to_cluster(resolver)\n",
133
"# This is the TPU initialization code that has to be at the beginning.\n",
134
"tf.tpu.experimental.initialize_tpu_system(resolver)\n",
0 commit comments