From 0157b76ec39250c02a1b3d33d493be1000be2b3b Mon Sep 17 00:00:00 2001 From: Ian Beauregard <ian.beauregard@gmail.com> Date: Wed, 14 Oct 2020 15:40:04 -0400 Subject: [PATCH] Change description of drop_remainder argument of Dataset method window In general, several windows are dropped when drop_remainder is set to True. --- 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 a7d2ed4840f..b877be12dab 100644 --- a/tensorflow/python/data/ops/dataset_ops.py +++ b/tensorflow/python/data/ops/dataset_ops.py @@ -1990,7 +1990,7 @@ name=None)) stride of the input elements in the sliding window. Must be positive. The default value of 1 means "retain every input element". drop_remainder: (Optional.) A `tf.bool` scalar `tf.Tensor`, representing - whether the last window should be dropped if its size is smaller than + whether the last windows should be dropped if their size is smaller than `size`. Returns: