aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mahesh Bhosale <maheshbhosale24051996@gmail.com>2018-02-06 04:45:12 +0530
committerGravatar Jonathan Hseu <vomjom@vomjom.net>2018-02-05 15:15:12 -0800
commite78aff41a14e000a4f68508b2c08c742f37ba59c (patch)
tree582574fba95e7149340e5a6425bf3728dccc0dae
parentee8742b949f8fcd52bfac4e5266e518975b34d28 (diff)
Resolve Programmatic mistake. (#16765)
SPECIES should have been either imported here or it should have referenced from iris_data. The corresponding code is correct but the conflict in the documentation.
-rw-r--r--tensorflow/docs_src/get_started/get_started_for_beginners.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/docs_src/get_started/get_started_for_beginners.md b/tensorflow/docs_src/get_started/get_started_for_beginners.md
index ea1c2fb3f4..390cc81eef 100644
--- a/tensorflow/docs_src/get_started/get_started_for_beginners.md
+++ b/tensorflow/docs_src/get_started/get_started_for_beginners.md
@@ -700,7 +700,7 @@ for pred_dict, expec in zip(predictions, expected):
class_id = pred_dict['class_ids'][0]
probability = pred_dict['probabilities'][class_id]
- print(template.format(SPECIES[class_id], 100 * probability, expec))
+ print(template.format(iris_data.SPECIES[class_id], 100 * probability, expec))
```
Running the program yields the following output: