diff options
author | Mustafa Ispir <ispir@google.com> | 2018-09-18 15:27:47 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-18 15:36:59 -0700 |
commit | 6c8f6920e8bad10429ac0b88abbe0ace5a5e9a72 (patch) | |
tree | fb0fe5d5d82a928111f91b2d867203333ce6c02b /tensorflow/python/estimator | |
parent | 0bd8f45ed9ee929225e8be93e7b998085fd2ba74 (diff) |
Updates documentation of Estimator.predict to note that an issue with yielding and graph context.
PiperOrigin-RevId: 213528782
Diffstat (limited to 'tensorflow/python/estimator')
-rw-r--r-- | tensorflow/python/estimator/estimator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/python/estimator/estimator.py b/tensorflow/python/estimator/estimator.py index ff2baa0465..ffe1e30da0 100644 --- a/tensorflow/python/estimator/estimator.py +++ b/tensorflow/python/estimator/estimator.py @@ -490,6 +490,10 @@ class Estimator(object): yield_single_examples=True): """Yields predictions for given features. + Please note that interleaving two predict outputs does not work. See: + [issue/20506]( + https://github.com/tensorflow/tensorflow/issues/20506#issuecomment-422208517) + Args: input_fn: A function that constructs the features. Prediction continues until `input_fn` raises an end-of-input exception |