Why is Cosine Similarity calculated V2.V1_T and not V1.V2_T in C3W3_Modified_Triplet_Loss?

hi @rocki

the reason behind v2 being mentioned v1 is because the calculation is columnwise, this has been explained in the assignment book, I am sharing a screenshot which explains this

Also for better calculative understanding I am sharing a comment by mentor @arvyzukai who explained stepwise calculation for this which will help you understand it more thoroughly

arvyzukai’s comment

Regards
DP