@@ -11,7 +11,7 @@ This doc is aimed at users who:
11
11
using an existing model.
12
12
* Have, perhaps, skimmed the code of an example TPU model
13
13
[[ 1]] ( https://github.com/tensorflow/models/blob/master/official/mnist/mnist_tpu.py )
14
- [[ 2]] ( https://github.com/tensorflow/tpu-demos /tree/master/cloud_tpu /models ) .
14
+ [[ 2]] ( https://github.com/tensorflow/tpu/tree/master/models ) .
15
15
* Are interested in porting an existing ` Estimator ` model to
16
16
run on Cloud TPUs
17
17
@@ -288,7 +288,7 @@ If shape inference has failed, but the shape is known it is possible to
288
288
impose the correct shape using ` tf.set_shape() ` .
289
289
290
290
In the example below the shape
291
- inference algorithm fails, but it is corrected using ` set_shape ` :
291
+ inference algorithm fails, but it is correctly using ` set_shape ` :
292
292
293
293
```
294
294
>>> x = tf.zeros(tf.constant([1,2,3])+1)
@@ -371,10 +371,10 @@ in bytes. A minimum of a few MB (`buffer_size=8*1024*1024`) is recommended so
371
371
that data is available when needed.
372
372
373
373
The TPU-demos repo includes
374
- [ a script] ( https://github.com/tensorflow/tpu-demos /blob/master/cloud_tpu /datasets/imagenet_to_gcs.py )
374
+ [ a script] ( https://github.com/tensorflow/tpu/blob/master/tools /datasets/imagenet_to_gcs.py )
375
375
for downloading the imagenet dataset and converting it to an appropriate format.
376
376
This together with the imagenet
377
- [ models] ( https://github.com/tensorflow/tpu-demos /tree/master/cloud_tpu /models )
377
+ [ models] ( https://github.com/tensorflow/tpu/tree/master/models )
378
378
included in the repo demonstrate all of these best-practices.
379
379
380
380
@@ -387,7 +387,7 @@ For details on how to actually set up and run a Cloud TPU see:
387
387
This document is by no means exhaustive. The best source of more detail on how
388
388
to make a Cloud TPU compatible model are the example models published in:
389
389
390
- * The [ TPU Demos Repository.] ( https://github.com/tensorflow/tpu-demos/ )
390
+ * The [ TPU Demos Repository.] ( https://github.com/tensorflow/tpu )
391
391
392
392
For more information about tuning TensorFlow code for performance see:
393
393
0 commit comments