From ce89a99bfc26089b79bcd591c6f02e83b7aee60a Mon Sep 17 00:00:00 2001 From: Jay Young Date: Mon, 1 Jan 2018 08:40:46 +0800 Subject: [PATCH] fix doc `tf.data.contrib.map_and_batch` to `tf.contrib.data.map_and_batch` (#15710) --- tensorflow/docs_src/performance/datasets_performance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/docs_src/performance/datasets_performance.md b/tensorflow/docs_src/performance/datasets_performance.md index 5efe9719aab..dd55849f8e4 100644 --- a/tensorflow/docs_src/performance/datasets_performance.md +++ b/tensorflow/docs_src/performance/datasets_performance.md @@ -177,7 +177,7 @@ dataset = dataset.batch(batch_size=FLAGS.batch_size) to: ``` -dataset = dataset.apply(tf.data.contrib.map_and_batch( +dataset = dataset.apply(tf.contrib.data.map_and_batch( map_func=parse_fn, batch_size=FLAGS.batch_size)) ```