Accidently deleted the function scaled_dot_product_attention

I accidently deleted, scaled_dot_product_attention and only this section. I then closed my browser and returned hoping to restore it from a checkpoint but to no avail. Is it possible to restore just this function back to the unedited original copy of the code?

You have filed this under DLS Course 2, but it sounds like it applies to DLS Course 5. But that doesn’t really matter in this case: there is a topic about how to get a clean copy of the notebook on the FAQ Thread.

1 Like