Errror from "transformer tutorials"


should be
" angle_rads[:, 0::2] = np.sin(angle_rads[:, 0::2])
angle_rads[:, 1::2] = np.cos(angle_rads[:, 1::2])

Thanks for the feedback.

There’s no functional difference, It’s just easier to write and plot this way, I’ll add a note.