[week 4] values slightly different makes my tests fail UNQ_C7, UNQ_C8

I completed the assignment, however, I can see my outputs are slightly different from what tests expect to see (if I set atol =1e-2 everything works). The two functions are Encoder.call and Decoder.call.

This makes my score75/100.

Any help will be appreciated. Thank you!

1 Like

I seem to have the same issue, the 2 asserts (Wrong values in outd) can be commented out, but that is not a solution of course and does not help to pass as well.

solved for me, see: C5W4A1 Transformer Architecture with TensorFlow submission error - #9 by jktubs