def test_ReverseSequence(self): x = self.random(3, 4, 10) t = tf.reverse_sequence(x, [5, 0, 0, 8], seq_dim=2, batch_dim=1) self.check(t)