how to compute the sum for each pair of rows x in matrice X and y in matrice Y?
I just solve it :D
instead of len(np.trnspose(y)) i had to do len(y) and it perfectly worked with a for loop.
I am trying to write a function in python that takes as input two matrices X and Y and computes for every pair of rows x in X and y in  Y, the norm ||x - y|| . I would like to do it without using for loops.
Do you have an idea about how to do it ?