aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-07-20 13:20:18 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-20 13:24:18 -0700
commit65f9f9b94fc905ee9bfd1785fdf7fd2b366e4b10 (patch)
treee1c015de6b4ba07fe2d280f7ddf9708839db1266
parenta2ad9123aad76329cadb35bc6a816e53700eebe4 (diff)
Update docstring for compression_type argument of TextLineDataset.
compression_type will accept a scalar String tensor, not just a Python string. PiperOrigin-RevId: 162656520
-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(