Hi all
When I ran the last function Transformer_test I got the error message below
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-46-a562b46d78e0> in <module>
1 # UNIT TEST
----> 2 Transformer_test(Transformer, create_look_ahead_mask, create_padding_mask)
~/work/W4A1/public_tests.py in Transformer_test(target, create_look_ahead_mask, create_padding_mask)
286 assert np.allclose(translation[0, 0, 0:8],
287 [0.017416516, 0.030932948, 0.024302809, 0.01997807,
--> 288 0.014861834, 0.034384135, 0.054789476, 0.032087505]), "Wrong values in translation"
289
290 keys = list(weights.keys())
AssertionError: Wrong values in translation
Does anyone know what happened?
Do I need to paste my implementation in class Transformer(tf.keras.Model) for further information?