Many To Many Architecture Tx=Ty

Hi Mentor,

In the case of many to many architecture where Tx = Ty problem, should each and every training example must have same number of sequence words ?

example:
1st training example) X = [1 2 3 4] Y = [1 2 3 4]
2nd training example ) X = [5 6 7 8 ] Y = [11 12 13 14 ]

or we can train Tx=Ty model problem where each and every training example can have different number of sequence of words ?

example:
1st training example) X = [1 2 3 4] Y = [1 2 3 4] ( here tx = ty)
2nd training example ) X = [5 6 7 8 9 10] Y = [11 12 13 14 15 16] (here tx = ty)

Hey @Anbu,
Both the cases are possible. As long as Tx = Ty, different examples can have the same number of words/characters, as well as different number of words/characters.

Cheers,
Elemento