Fixes a bug where the sequence prediction was getting an input of invalid shape.
Fixes a bug where the sequence prediction was getting an input of invalid shape.

PiperOrigin-RevId: 341641632

google-research/tapas