From a0f4ffc2b1381a7e5cd67a8284b48b5257658c5e Mon Sep 17 00:00:00 2001 From: minoring Date: Sat, 14 Dec 2019 23:04:07 -0800 Subject: [PATCH] Fix typo in docstring of padded_batch Convert padding_shapes into padded_shapes since it is the argument name --- tensorflow/python/data/ops/dataset_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/data/ops/dataset_ops.py b/tensorflow/python/data/ops/dataset_ops.py index 06bdfd03eb8..8f04313561d 100644 --- a/tensorflow/python/data/ops/dataset_ops.py +++ b/tensorflow/python/data/ops/dataset_ops.py @@ -1390,7 +1390,7 @@ class DatasetV2(tracking_base.Trackable, composite_tensor.CompositeTensor): Unlike `tf.data.Dataset.batch`, the input elements to be batched may have different shapes, and this transformation will pad each component to the - respective shape in `padding_shapes`. The `padding_shapes` argument + respective shape in `padded_shapes`. The `padded_shapes` argument determines the resulting shape for each dimension of each component in an output element: