C5W4 A1 positional encoding


I don’t know why it shows could not broadcast


I think the shapes work

You have to apply the same slicing to the angle_rads that are inside the np.sin() call.

It is solved now! Thank you so much!!!