I think it's good. I do all unit tests. See the tutorial to TF Dataset.    `dataset = dataset.flat_map(lambda x: x.batch(sequence_length, drop_remainder=True))` = this part with `drop_remainder=True` makes the issue #16315 solved because XLA makes shape static and is defined in all axis !