Unverified Commit 93e2a37a authored by Joppe Geluykens's avatar Joppe Geluykens Committed by GitHub
Browse files

Print output of predictions in simple estimator example for DistributionStrategy

Resolved the TODO that asked to print meaningful results from the Estimator's predictions.
Collects all elements yielded by the generator in a list and prints that list instead of the generator object.
Results in the following output: `Prediction results: [{'logits': array([1.0162734], dtype=float32)}, ..., {'logits': array([1.0162734], dtype=float32)}]`.
parent a6d62ffe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment