diff options
author | 2017-09-30 18:18:54 -0700 | |
---|---|---|
committer | 2017-09-30 18:22:10 -0700 | |
commit | da8349412fe03c9f55307c7f2674f072073d1b40 (patch) | |
tree | d3490d1837738952174c73ef8adc3e7e3867f512 | |
parent | 2bc4bc1d7acca7d9b2f38902c91d697cd1e0e854 (diff) |
fix the typo in docstring of dense_to_sparse_batch
PiperOrigin-RevId: 170607818
-rw-r--r-- | tensorflow/contrib/data/python/ops/batching.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/data/python/ops/batching.py b/tensorflow/contrib/data/python/ops/batching.py index 847f974940..16f01557a2 100644 --- a/tensorflow/contrib/data/python/ops/batching.py +++ b/tensorflow/contrib/data/python/ops/batching.py @@ -50,7 +50,7 @@ def dense_to_sparse_batch(batch_size, row_shape): ([[0, 0], [0, 1], [0, 2], [1, 0], [1, 1]], # indices ['a', 'b', 'c', 'a', 'b'], # values [2, 6]), # dense_shape - ([[2, 0], [2, 1], [2, 2], [2, 3]], + ([[0, 0], [0, 1], [0, 2], [0, 3]], ['a', 'b', 'c', 'd'], [1, 6]) } |