ExampleGen and transformGen for lstm

Hi,

Im working on timeseries forcasting and want to know how use ExampleGen for splitting my data in different way. My data are not equal quality in time line, so I use a pair impair day split.

Can I code a custom function and use it?

For lstm, how can I reshape my data inside transformGen ?

Have you seen Dataset?