aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/contrib/data/python/ops/dataset_ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/data/python/ops/dataset_ops.py b/tensorflow/contrib/data/python/ops/dataset_ops.py
index 0a6933274c..bf60efbff9 100644
--- a/tensorflow/contrib/data/python/ops/dataset_ops.py
+++ b/tensorflow/contrib/data/python/ops/dataset_ops.py
@@ -1943,8 +1943,8 @@ class TextLineDataset(Dataset):
Args:
filenames: A `tf.string` tensor containing one or more filenames.
- compression_type: A string, one of: `""` (no compression), `"ZLIB"`, or
- `"GZIP"`.
+ compression_type: A `tf.string` scalar evaluating to one of `""` (no
+ compression), `"ZLIB"`, or `"GZIP"`.
"""
super(TextLineDataset, self).__init__()
self._filenames = ops.convert_to_tensor(