C3M3_Assignment Exercise 2

I have implemented the Exercise 2 and all the code in the graded cell but I keep getting an error for the Unit test. I tried to understand the error using hints provided but I didn’t get it. The output are as follows

Hi!
Could you send me via DM your solution? I would like to have a look.

Cheers,
Lucas

1 Like

Hey Lucas,

I found the solution. In forward pass adding positional encoding, I forgot to add to the embedded tensor after getting the positional encodings. The code works now, test passed!

Thanks