C4_W2 UNQ_7 Finding how to feed output of previous step to current step

I’ve no idea how to do this. I checked the TRAX references, but I’m just lost.

Any help will be appreciated.

# Use teacher forcing (feed output of previous step to current step)
        tl.ShiftRight(mode=mode), # Specify the mode

I figured that I need to wrap tl.ShiftRight with tl.Serial; However, now I’m having an extra serial


Serial[
  Serial[
    Serial[
      ShiftRight(1)
    ]
  ]

Any help will be appreciated.

I figured it out, in fact when you perform tl.ShiftRight within a tl.Serial automatically it adds tl.Serial around tl.ShiftRight()