Commit 7fc086c3 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 365828860
parent aba78478
...@@ -215,10 +215,10 @@ class StandardEvaluatorOptions: ...@@ -215,10 +215,10 @@ class StandardEvaluatorOptions:
Attributes: Attributes:
use_tf_function: A boolean indicating whether to apply `tf.function` to the use_tf_function: A boolean indicating whether to apply `tf.function` to the
training loop. This will only affect the body of the loop (involving evaluation loop. This will only affect the body of the loop (involving
`train_step`); `train_loop_begin` and `train_loop_end` will always be run `eval_step`); `eval_loop_begin` and `eval_loop_end` will always be run
in eager mode. in eager mode.
use_tf_while_loop: A boolean indicating whether to run the training loop use_tf_while_loop: A boolean indicating whether to run the evaluation loop
using a `tf.while_loop`. If `True`, `use_tf_function` must also be `True`. using a `tf.while_loop`. If `True`, `use_tf_function` must also be `True`.
recreate_iterator_for_each_eval: A boolean indicating whether to recreate a recreate_iterator_for_each_eval: A boolean indicating whether to recreate a
new iterator for the evaluation dataset before each round of evaluation, new iterator for the evaluation dataset before each round of evaluation,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment