InnovArul:

if you are considering L2 loss between two vectors, these lines seem to be wrong. Can you recheck?


Yeah I am considering the L2, but I don’t see anything wrong with the code. Can you elaborate?