def paired_euclidean_distances(X, Y):
    X, Y = check_paired_arrays(X, Y)
    return row_norms(X - Y)
Computes the paired euclidean distances between X and Y
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/pairwise.py/paired_euclidean_distances