Document explicitly iterations_per_loop is not respected in TPUEstimator evaluation.

PiperOrigin-RevId: 239215958
This commit is contained in:
Ruoxin Sang 2019-03-19 10:14:57 -07:00 committed by TensorFlower Gardener
parent a988f5e6fa
commit 5ae4902198

View File

@ -62,6 +62,8 @@ class TPUConfig(
system before returning to CPU host for each `Session.run`. This means system before returning to CPU host for each `Session.run`. This means
global step is increased `iterations_per_loop` times in one `Session.run`. global step is increased `iterations_per_loop` times in one `Session.run`.
It is recommended to be set as number of global steps for next checkpoint. It is recommended to be set as number of global steps for next checkpoint.
Note that in evaluation don't use this value, instead we run total eval
`steps` on TPU for a single `Session.run`.
num_shards: (Deprecated, ignored by TPUEstimator). num_shards: (Deprecated, ignored by TPUEstimator).
The number of model replicas in the system. For non-model-parallelism The number of model replicas in the system. For non-model-parallelism
case, this number equals the total number of TPU cores. For case, this number equals the total number of TPU cores. For