How do I use the "group_by_window" function in TensorFlow

Viewed 4492

In TensorFlow's new set of input pipeline functions, there is an ability to group sets of records together using the "group_by_window" function. It is described in the documentation here:

https://www.tensorflow.org/api_docs/python/tf/contrib/data/Dataset#group_by_window

I don't fully understand the explanation here used to describe the function, and I tend to learn best by example. I can't find any example code anywhere on the internet for this function. Could someone please whip up a barebones and runnable example of this function to show how it works, and what to give this function?

1 Answers
Related