Fix typo in deprecation warning string.
PiperOrigin-RevId: 238308329
This commit is contained in:
parent
7edbcf25c1
commit
ace3ad93dc
@ -56,7 +56,7 @@ class _SlideDataset(dataset_ops.UnaryDataset):
|
|||||||
None, "stride is deprecated, use window_shift instead", "stride")
|
None, "stride is deprecated, use window_shift instead", "stride")
|
||||||
@deprecation.deprecated(
|
@deprecation.deprecated(
|
||||||
None, "Use `tf.data.Dataset.window(size=window_size, shift=window_shift, "
|
None, "Use `tf.data.Dataset.window(size=window_size, shift=window_shift, "
|
||||||
"stride=window_stride).flat_map(lambda x: x.batch(window.size))` "
|
"stride=window_stride).flat_map(lambda x: x.batch(window_size))` "
|
||||||
"instead.")
|
"instead.")
|
||||||
def sliding_window_batch(window_size,
|
def sliding_window_batch(window_size,
|
||||||
stride=None,
|
stride=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user