aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/learn
diff options
context:
space:
mode:
authorGravatar Jianwei Xie <xiejw@google.com>2017-11-09 10:12:58 -0800
committerGravatar Andrew Selle <aselle@andyselle.com>2017-11-10 16:14:39 -0800
commitc0ef3c84123446e8d9988bc393348b82f4ebdffb (patch)
tree11d9437ebf0d90ebb083979d3c360cdaab474291 /tensorflow/examples/learn
parentfa198eb0ea0a96d59be193e9dfd19535afc232a0 (diff)
Adds explicity docstring about TF version in examples.
PiperOrigin-RevId: 175174326
Diffstat (limited to 'tensorflow/examples/learn')
-rw-r--r--tensorflow/examples/learn/iris.py5
-rw-r--r--tensorflow/examples/learn/wide_n_deep_tutorial.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/tensorflow/examples/learn/iris.py b/tensorflow/examples/learn/iris.py
index 0a50b3ba87..03e60972aa 100644
--- a/tensorflow/examples/learn/iris.py
+++ b/tensorflow/examples/learn/iris.py
@@ -11,7 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-"""Example of DNNClassifier for Iris plant dataset."""
+"""Example of DNNClassifier for Iris plant dataset.
+
+This example uses APIs in Tensorflow 1.4 or above.
+"""
from __future__ import absolute_import
from __future__ import division
diff --git a/tensorflow/examples/learn/wide_n_deep_tutorial.py b/tensorflow/examples/learn/wide_n_deep_tutorial.py
index e447b3e24e..072353392a 100644
--- a/tensorflow/examples/learn/wide_n_deep_tutorial.py
+++ b/tensorflow/examples/learn/wide_n_deep_tutorial.py
@@ -12,7 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
-"""Example code for TensorFlow Wide & Deep Tutorial using TF.Learn API."""
+"""Example code for TensorFlow Wide & Deep Tutorial using TF High Level API.
+
+This example uses APIs in Tensorflow 1.4 or above.
+"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function